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.001016/0.001016, allocations: 103.8 kB / 16.4 MB, free: 6.445 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.001021/0.001021, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7011/0.7011, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 58.8 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1129, allocations: 77.94 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01839/0.1313, allocations: 20.72 MB / 0.6643 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005946/0.1373, allocations: 4.947 MB / 0.6691 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.1378, allocations: 19.88 kB / 0.6691 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.1384, allocations: 270 kB / 0.6694 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.14, allocations: 0.8226 MB / 0.6702 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1416, allocations: 0.7064 MB / 0.6709 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.1429, allocations: 1.395 MB / 0.6722 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.1434, allocations: 435.3 kB / 0.6727 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.1442, allocations: 0.5681 MB / 0.6732 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.1447, allocations: 458.1 kB / 0.6737 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.1447, allocations: 36 kB / 0.6737 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009428/0.1457, allocations: 0.6277 MB / 0.6743 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1458, allocations: 131.5 kB / 0.6744 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.146, allocations: 286.5 kB / 0.6747 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.1469, allocations: 0.8459 MB / 0.6755 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.147, allocations: 0 / 0.6755 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.147, allocations: 0 / 0.6755 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.147, allocations: 3.938 kB / 0.6755 GB, free: 9.211 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.001354/0.1483, allocations: 0.9187 MB / 0.6764 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1484, allocations: 12.62 kB / 0.6764 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.1485, allocations: 66.72 kB / 0.6765 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1486, allocations: 64.19 kB / 0.6766 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.1492, allocations: 483.1 kB / 0.677 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1492, allocations: 24.66 kB / 0.6771 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.1493, allocations: 32 kB / 0.6771 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.1499, allocations: 310 kB / 0.6774 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1499, allocations: 0 / 0.6774 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.1499, allocations: 8 kB / 0.6774 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.15, allocations: 8 kB / 0.6774 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.1506, allocations: 266.4 kB / 0.6776 GB, free: 6.941 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.001994/0.1526, allocations: 1.349 MB / 0.679 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.1531, allocations: 250.5 kB / 0.6792 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.1533, allocations: 133.7 kB / 0.6793 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.1537, allocations: 0.4947 MB / 0.6798 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1537, allocations: 34.66 kB / 0.6798 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.1538, allocations: 7.938 kB / 0.6799 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001616/0.1554, allocations: 0.5598 MB / 0.6804 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1554, allocations: 55.41 kB / 0.6805 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.1559, allocations: 462.1 kB / 0.6809 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1559, allocations: 33.7 kB / 0.6809 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1561, allocations: 248.4 kB / 0.6812 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1562, allocations: 82.73 kB / 0.6812 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1563, allocations: 77.67 kB / 0.6813 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1564, allocations: 354.8 kB / 0.6817 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.1567, allocations: 128.8 kB / 0.6818 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1571, allocations: 185 kB / 0.682 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.1576, allocations: 273.3 kB / 0.6822 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1577, allocations: 4 kB / 0.6822 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001455/0.1591, allocations: 493.5 kB / 0.6827 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1591, allocations: 4 kB / 0.6827 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1591, allocations: 3.984 kB / 0.6827 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1595, allocations: 60.81 kB / 0.6828 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.1598, allocations: 63.89 kB / 0.6828 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003911/0.1602, allocations: 0.5679 MB / 0.6834 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.1606, allocations: 59.67 kB / 0.6834 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.1606, allocations: 12 kB / 0.6834 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003851/0.161, allocations: 244 kB / 0.6837 GB, free: 384 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003186/0.1614, allocations: 181.3 kB / 0.6838 GB, free: 184 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005486/0.1619, allocations: 253.5 kB / 0.6841 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.1619, allocations: 4 kB / 0.6841 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007244/0.1627, allocations: 360.8 kB / 0.6844 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.1627, allocations: 9.25 kB / 0.6844 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/0.1627, allocations: 0 / 0.6844 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.1627, allocations: 7.938 kB / 0.6844 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1631, allocations: 83.88 kB / 0.6845 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.1631, allocations: 0 / 0.6845 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.1635, allocations: 43.8 kB / 0.6846 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1635, allocations: 27.86 kB / 0.6846 GB, free: 15.39 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.0001188/0.1636, allocations: 196.2 kB / 0.6848 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.1637, allocations: 47.34 kB / 0.6848 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008869/0.1646, allocations: 427.8 kB / 0.6852 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1646, allocations: 4 kB / 0.6852 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1646, allocations: 0 / 0.6852 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1646, allocations: 3.984 kB / 0.6852 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.166, allocations: 0.9454 MB / 0.6862 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.166, allocations: 0 / 0.6862 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.1662, allocations: 51.91 kB / 0.6862 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.1664, allocations: 41.17 kB / 0.6863 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1664, allocations: 15.97 kB / 0.6863 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/0.1668, allocations: 0.564 MB / 0.6868 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1668, allocations: 0 / 0.6868 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.1675, allocations: 491 kB / 0.6873 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.1677, allocations: 156.4 kB / 0.6874 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.1677, allocations: 8 kB / 0.6874 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.168, allocations: 27.91 kB / 0.6875 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.1681, allocations: 23.97 kB / 0.6875 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.1681, allocations: 12 kB / 0.6875 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003119/0.1685, allocations: 318.9 kB / 0.6878 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1685, allocations: 7.938 kB / 0.6878 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006574/0.1691, allocations: 255.5 kB / 0.6881 GB, free: 11.67 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.001314/0.1705, allocations: 1.178 MB / 0.6892 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.1715, allocations: 461.4 kB / 0.6897 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1715, allocations: 8 kB / 0.6897 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.1719, allocations: 167.8 kB / 0.6898 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.1729, allocations: 223.7 kB / 0.69 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.1786, allocations: 3.99 MB / 0.6939 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.179, allocations: 0.8587 MB / 0.6948 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.1793, allocations: 116.1 kB / 0.6949 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.1796, allocations: 171.4 kB / 0.695 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1796, allocations: 3.938 kB / 0.695 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.214, allocations: 15.04 MB / 0.7097 GB, free: 5.578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.8, allocations: 5.5 kB / 0.7097 GB, free: 5.574 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)