Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_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.001414/0.001414, allocations: 107 kB / 16.4 MB, free: 6.5 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.001645/0.001645, allocations: 192 kB / 17.34 MB, free: 5.738 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7654/0.7654, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 68.36 kB / 0.5679 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.133, allocations: 77.94 MB / 0.644 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02181/0.1549, allocations: 20.73 MB / 0.6643 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006861/0.1618, allocations: 4.943 MB / 0.6691 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006658/0.1625, allocations: 15.88 kB / 0.6691 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.1633, allocations: 282 kB / 0.6694 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.1652, allocations: 0.8179 MB / 0.6702 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.167, allocations: 0.7187 MB / 0.6709 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.1687, allocations: 1.383 MB / 0.6722 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.1693, allocations: 447.2 kB / 0.6727 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.1702, allocations: 0.572 MB / 0.6732 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.1707, allocations: 442.1 kB / 0.6737 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.1708, allocations: 40 kB / 0.6737 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.172, allocations: 0.6394 MB / 0.6743 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1721, allocations: 115.5 kB / 0.6744 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.1724, allocations: 290.5 kB / 0.6747 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1735, allocations: 0.8459 MB / 0.6755 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1735, allocations: 0 / 0.6755 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1735, allocations: 3.938 kB / 0.6755 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1736, allocations: 0 / 0.6755 GB, free: 9.195 MB / 0.5137 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.001532/0.1751, allocations: 0.9226 MB / 0.6764 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1751, allocations: 8.625 kB / 0.6764 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.1752, allocations: 62.73 kB / 0.6765 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1753, allocations: 68.19 kB / 0.6766 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/0.176, allocations: 479.1 kB / 0.677 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1761, allocations: 28.66 kB / 0.6771 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.1761, allocations: 36 kB / 0.6771 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.1767, allocations: 306 kB / 0.6774 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1768, allocations: 0 / 0.6774 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.1768, allocations: 16 kB / 0.6774 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1768, allocations: 8 kB / 0.6774 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.1774, allocations: 262.4 kB / 0.6777 GB, free: 6.922 MB / 0.5137 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.002051/0.1795, allocations: 1.341 MB / 0.679 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.18, allocations: 254.5 kB / 0.6792 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.1803, allocations: 132.8 kB / 0.6793 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.1808, allocations: 0.4986 MB / 0.6798 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1809, allocations: 38.59 kB / 0.6799 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 3.206e-06/0.1809, allocations: 3.984 kB / 0.6799 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001812/0.1827, allocations: 0.5526 MB / 0.6804 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1828, allocations: 59.39 kB / 0.6805 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.1833, allocations: 470.1 kB / 0.6809 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.1834, allocations: 33.7 kB / 0.6809 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1836, allocations: 248.4 kB / 0.6812 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.1836, allocations: 86.75 kB / 0.6813 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1838, allocations: 69.69 kB / 0.6813 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1839, allocations: 359 kB / 0.6817 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.1842, allocations: 120.8 kB / 0.6818 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1846, allocations: 188.7 kB / 0.682 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.1852, allocations: 272.5 kB / 0.6822 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.1852, allocations: 0 / 0.6822 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001545/0.1868, allocations: 490.6 kB / 0.6827 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1868, allocations: 8 kB / 0.6827 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1868, allocations: 0 / 0.6827 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.1872, allocations: 56.8 kB / 0.6827 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.1876, allocations: 71.89 kB / 0.6828 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006998/0.1883, allocations: 0.5717 MB / 0.6834 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.1887, allocations: 43.66 kB / 0.6834 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.1889, allocations: 23.92 kB / 0.6834 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005845/0.1895, allocations: 240.1 kB / 0.6837 GB, free: 372 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003494/0.1898, allocations: 181.4 kB / 0.6838 GB, free: 172 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006239/0.1905, allocations: 256.1 kB / 0.6841 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1905, allocations: 0 / 0.6841 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008133/0.1913, allocations: 366.6 kB / 0.6844 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1913, allocations: 8 kB / 0.6844 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.1913, allocations: 0 / 0.6844 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.1913, allocations: 7.938 kB / 0.6844 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.1917, allocations: 83.89 kB / 0.6845 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1917, allocations: 11.92 kB / 0.6845 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.1922, allocations: 43.73 kB / 0.6846 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.1923, allocations: 16 kB / 0.6846 GB, free: 15.38 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.000274/0.1926, allocations: 196.2 kB / 0.6848 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.1927, allocations: 51.34 kB / 0.6848 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.1938, allocations: 431.9 kB / 0.6852 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.1938, allocations: 4 kB / 0.6853 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1938, allocations: 0 / 0.6853 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1938, allocations: 144 / 0.6853 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1954, allocations: 0.9416 MB / 0.6862 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1954, allocations: 4 kB / 0.6862 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.1957, allocations: 51.88 kB / 0.6862 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.1958, allocations: 44.83 kB / 0.6863 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1959, allocations: 8.125 kB / 0.6863 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003429/0.1962, allocations: 0.5562 MB / 0.6868 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1962, allocations: 4.031 kB / 0.6868 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.197, allocations: 491 kB / 0.6873 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.1972, allocations: 156.4 kB / 0.6874 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.1973, allocations: 8 kB / 0.6874 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.1976, allocations: 27.91 kB / 0.6875 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.1977, allocations: 19.97 kB / 0.6875 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1977, allocations: 12 kB / 0.6875 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003406/0.1981, allocations: 326.8 kB / 0.6878 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1981, allocations: 0 / 0.6878 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007047/0.1988, allocations: 259.5 kB / 0.6881 GB, free: 11.66 MB / 0.5294 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.001562/0.2004, allocations: 1.173 MB / 0.6892 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.2016, allocations: 468.8 kB / 0.6897 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2016, allocations: 0 / 0.6897 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.202, allocations: 172 kB / 0.6898 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2031, allocations: 226 kB / 0.69 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006246/0.2094, allocations: 3.995 MB / 0.6939 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.2098, allocations: 0.8587 MB / 0.6948 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003903/0.2102, allocations: 116.1 kB / 0.6949 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.2104, allocations: 183.3 kB / 0.6951 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.2104, allocations: 0 / 0.6951 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6563/0.8667, allocations: 15.02 MB / 0.7097 GB, free: 5.566 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.71, allocations: 7.844 kB / 0.7097 GB, free: 5.559 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)