Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004846/0.004846, allocations: 96.84 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 192.8 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 70.67 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.144, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.0233/0.1673, allocations: 20.75 MB / 0.6794 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00728/0.1747, allocations: 4.947 MB / 0.6843 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007702/0.1755, allocations: 19.88 kB / 0.6843 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.1763, allocations: 270.1 kB / 0.6845 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.1786, allocations: 0.816 MB / 0.6853 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.1805, allocations: 0.7175 MB / 0.686 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.1823, allocations: 1.38 MB / 0.6874 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.183, allocations: 443.2 kB / 0.6878 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1841, allocations: 0.5836 MB / 0.6884 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.1849, allocations: 446.1 kB / 0.6888 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.185, allocations: 36 kB / 0.6888 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1862, allocations: 0.6277 MB / 0.6894 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.1864, allocations: 131.4 kB / 0.6896 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.1868, allocations: 286.5 kB / 0.6898 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.188, allocations: 0.8576 MB / 0.6907 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.188, allocations: 4 kB / 0.6907 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.188, allocations: 0 / 0.6907 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.188, allocations: 0 / 0.6907 GB, free: 10.42 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001667/0.1897, allocations: 0.9226 MB / 0.6916 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1898, allocations: 12.03 kB / 0.6916 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.894e-05/0.1898, allocations: 70.61 kB / 0.6917 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.19, allocations: 64.19 kB / 0.6917 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.1907, allocations: 474.4 kB / 0.6922 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.1907, allocations: 28.66 kB / 0.6922 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.1908, allocations: 28 kB / 0.6922 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.1914, allocations: 317.9 kB / 0.6925 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1915, allocations: 4 kB / 0.6925 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1915, allocations: 12 kB / 0.6926 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1915, allocations: 8 kB / 0.6926 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.1921, allocations: 258.4 kB / 0.6928 GB, free: 8.145 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.1943, allocations: 1.341 MB / 0.6941 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.1948, allocations: 251.4 kB / 0.6944 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.1951, allocations: 140.8 kB / 0.6945 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003989/0.1955, allocations: 0.4986 MB / 0.695 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1955, allocations: 34.5 kB / 0.695 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.342e-06/0.1955, allocations: 4 kB / 0.695 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.00166/0.1972, allocations: 0.5533 MB / 0.6956 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1972, allocations: 63.33 kB / 0.6956 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.1977, allocations: 458.2 kB / 0.6961 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.1978, allocations: 33.7 kB / 0.6961 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1979, allocations: 248.4 kB / 0.6963 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.198, allocations: 86.73 kB / 0.6964 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1981, allocations: 73.69 kB / 0.6965 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1983, allocations: 358.8 kB / 0.6968 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.1986, allocations: 120.8 kB / 0.6969 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.1989, allocations: 181 kB / 0.6971 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.1995, allocations: 273.1 kB / 0.6974 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1995, allocations: 4 kB / 0.6974 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001478/0.201, allocations: 489.7 kB / 0.6978 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.201, allocations: 10.19 kB / 0.6978 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.201, allocations: 0 / 0.6978 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.2014, allocations: 60.89 kB / 0.6979 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.2017, allocations: 63.89 kB / 0.698 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004058/0.2021, allocations: 0.5718 MB / 0.6985 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.2026, allocations: 51.75 kB / 0.6986 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.2026, allocations: 15.98 kB / 0.6986 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000394/0.203, allocations: 247.7 kB / 0.6988 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003207/0.2034, allocations: 174.6 kB / 0.699 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005341/0.2039, allocations: 260.1 kB / 0.6992 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.149e-06/0.2039, allocations: 4 kB / 0.6992 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007617/0.2047, allocations: 372.9 kB / 0.6996 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2047, allocations: 7.938 kB / 0.6996 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.2047, allocations: 0 / 0.6996 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-06/0.2047, allocations: 4 kB / 0.6996 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.2051, allocations: 79.89 kB / 0.6997 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2051, allocations: 3.984 kB / 0.6997 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.2055, allocations: 55.7 kB / 0.6997 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.2056, allocations: 8 kB / 0.6998 GB, free: 0.6094 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.2057, allocations: 200.2 kB / 0.6999 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.2058, allocations: 47.38 kB / 0.7 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008932/0.2067, allocations: 421.2 kB / 0.7004 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.2067, allocations: 4 kB / 0.7004 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2067, allocations: 7.938 kB / 0.7004 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.2068, allocations: 0 / 0.7004 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2082, allocations: 0.9438 MB / 0.7013 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2082, allocations: 4.031 kB / 0.7013 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.2084, allocations: 47.95 kB / 0.7014 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.2086, allocations: 52.83 kB / 0.7014 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.2086, allocations: 8 kB / 0.7014 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.209, allocations: 0.5639 MB / 0.702 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.209, allocations: 4.062 kB / 0.702 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.2097, allocations: 498.8 kB / 0.7025 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.2099, allocations: 160.4 kB / 0.7026 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.21, allocations: 7.938 kB / 0.7026 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.2103, allocations: 23.97 kB / 0.7026 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.2104, allocations: 23.97 kB / 0.7027 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.2104, allocations: 11.98 kB / 0.7027 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003281/0.2108, allocations: 322.9 kB / 0.703 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2108, allocations: 0 / 0.703 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006987/0.2115, allocations: 251.5 kB / 0.7032 GB, free: 12.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/0.2129, allocations: 1.173 MB / 0.7044 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.214, allocations: 464.7 kB / 0.7048 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.214, allocations: 0 / 0.7048 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.2144, allocations: 167.8 kB / 0.705 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.2154, allocations: 227.4 kB / 0.7052 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.2214, allocations: 3.999 MB / 0.7091 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2218, allocations: 0.851 MB / 0.7099 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003658/0.2222, allocations: 112.1 kB / 0.71 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.2224, allocations: 183.4 kB / 0.7102 GB, free: 5.555 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.2224, allocations: 0 / 0.7102 GB, free: 5.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.2598, allocations: 15.27 MB / 0.7251 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.43, allocations: 6.25 kB / 0.7251 GB, free: 6.574 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)