Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.001831/0.001831, allocations: 103.3 kB / 16.4 MB, free: 6.492 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: 195.8 kB / 17.34 MB, free: 5.766 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6876/0.6876, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 66.08 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1478, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003684/0.1515, allocations: 2.287 MB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006236/0.1578, allocations: 3.797 MB / 0.6375 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.1582, allocations: 4 kB / 0.6375 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.1612, allocations: 1.045 MB / 0.6385 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009461/0.1621, allocations: 422.4 kB / 0.639 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1632, allocations: 0.5145 MB / 0.6395 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004282/0.1675, allocations: 3.145 MB / 0.6425 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1677, allocations: 44.66 kB / 0.6426 GB, free: 9.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.1681, allocations: 231.3 kB / 0.6428 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1684, allocations: 215.2 kB / 0.643 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.1685, allocations: 20 kB / 0.643 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.1696, allocations: 0.7525 MB / 0.6437 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.1698, allocations: 219.4 kB / 0.644 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.17, allocations: 250.5 kB / 0.6442 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.1715, allocations: 1.063 MB / 0.6452 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1715, allocations: 4 kB / 0.6452 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1715, allocations: 0 / 0.6452 GB, free: 6.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1715, allocations: 0 / 0.6452 GB, free: 6.906 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001658/0.1732, allocations: 0.9254 MB / 0.6461 GB, free: 5.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1733, allocations: 12.03 kB / 0.6462 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1733, allocations: 38.75 kB / 0.6462 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1746, allocations: 216 kB / 0.6464 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/0.1804, allocations: 3.584 MB / 0.6499 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1804, allocations: 8 kB / 0.6499 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.1805, allocations: 16 kB / 0.6499 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.181, allocations: 262.9 kB / 0.6502 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.181, allocations: 0 / 0.6502 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1811, allocations: 0 / 0.6502 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1811, allocations: 4 kB / 0.6502 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.1817, allocations: 235.8 kB / 0.6504 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.1832, allocations: 0.8317 MB / 0.6512 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.1839, allocations: 298.6 kB / 0.6515 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.1842, allocations: 124.8 kB / 0.6516 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1843, allocations: 3.938 kB / 0.6516 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1843, allocations: 34.56 kB / 0.6517 GB, free: 156 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1843, allocations: 0 / 0.6517 GB, free: 156 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.001193/0.1855, allocations: 444.7 kB / 0.6521 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1856, allocations: 51.41 kB / 0.6521 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/0.1864, allocations: 0.7693 MB / 0.6529 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1864, allocations: 33.7 kB / 0.6529 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1866, allocations: 224.7 kB / 0.6531 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.1867, allocations: 43.45 kB / 0.6532 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.1869, allocations: 154 kB / 0.6533 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.187, allocations: 378.8 kB / 0.6537 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.1877, allocations: 442.9 kB / 0.6541 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.1884, allocations: 0.5161 MB / 0.6546 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.1897, allocations: 0.8741 MB / 0.6555 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1897, allocations: 0 / 0.6555 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001579/0.1913, allocations: 1.072 MB / 0.6565 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1913, allocations: 8 kB / 0.6565 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1913, allocations: 0 / 0.6565 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1913, allocations: 4 kB / 0.6565 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.1918, allocations: 111.9 kB / 0.6566 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1918, allocations: 8 kB / 0.6566 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.1922, allocations: 75.34 kB / 0.6567 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.1923, allocations: 36.36 kB / 0.6567 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007317/0.193, allocations: 0.5403 MB / 0.6573 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006396/0.1937, allocations: 468.4 kB / 0.6577 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.1948, allocations: 0.7275 MB / 0.6584 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.1948, allocations: 4 kB / 0.6584 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001402/0.1962, allocations: 0.9187 MB / 0.6593 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1962, allocations: 8 kB / 0.6593 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1962, allocations: 0 / 0.6593 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.1963, allocations: 4 kB / 0.6593 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.1967, allocations: 107.8 kB / 0.6594 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1967, allocations: 7.938 kB / 0.6594 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.1971, allocations: 59.66 kB / 0.6595 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.1972, allocations: 27.98 kB / 0.6595 GB, free: 7.898 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.1973, allocations: 200.1 kB / 0.6597 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.1974, allocations: 51.25 kB / 0.6598 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009201/0.1983, allocations: 366.8 kB / 0.6601 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1983, allocations: 0 / 0.6601 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1983, allocations: 0 / 0.6601 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1984, allocations: 3.984 kB / 0.6601 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.1988, allocations: 421.1 kB / 0.6605 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1988, allocations: 0 / 0.6605 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1991, allocations: 43.97 kB / 0.6606 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1991, allocations: 0 / 0.6606 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1991, allocations: 7.984 kB / 0.6606 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1991, allocations: 3.938 kB / 0.6606 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1992, allocations: 0 / 0.6606 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.1999, allocations: 422.5 kB / 0.661 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.2001, allocations: 152.3 kB / 0.6611 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.2002, allocations: 4 kB / 0.6611 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.2005, allocations: 23.97 kB / 0.6611 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2005, allocations: 7.984 kB / 0.6612 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.2006, allocations: 8 kB / 0.6612 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005751/0.2011, allocations: 0.5107 MB / 0.6617 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2011, allocations: 4 kB / 0.6617 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008729/0.202, allocations: 315.8 kB / 0.662 GB, free: 5.301 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/0.2038, allocations: 1.219 MB / 0.6632 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.2058, allocations: 1.141 MB / 0.6643 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2058, allocations: 3.938 kB / 0.6643 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.2061, allocations: 136.3 kB / 0.6644 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/0.207, allocations: 205.8 kB / 0.6646 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.215, allocations: 6.044 MB / 0.6705 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.2155, allocations: 0.9012 MB / 0.6714 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005739/0.2161, allocations: 192.3 kB / 0.6716 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.2164, allocations: 203.3 kB / 0.6718 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.2164, allocations: 0 / 0.6718 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.2542, allocations: 17.77 MB / 0.6891 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/8.791, allocations: 7.906 kB / 0.6891 GB, free: 9.566 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)