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.001715/0.001715, allocations: 106.4 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.001856/0.001856, allocations: 193.2 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7312/0.7312, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 57.53 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1507, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004229/0.155, allocations: 2.293 MB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006682/0.1617, allocations: 3.784 MB / 0.6375 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.162, allocations: 4 kB / 0.6375 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.1654, allocations: 1.049 MB / 0.6385 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009756/0.1664, allocations: 422.4 kB / 0.639 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1676, allocations: 0.5185 MB / 0.6395 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.1725, allocations: 3.151 MB / 0.6425 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1727, allocations: 44.73 kB / 0.6426 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.1731, allocations: 227.2 kB / 0.6428 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.1735, allocations: 211.2 kB / 0.643 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.1736, allocations: 20 kB / 0.643 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1748, allocations: 0.7564 MB / 0.6438 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.175, allocations: 219.4 kB / 0.644 GB, free: 8.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1753, allocations: 254.5 kB / 0.6442 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.1773, allocations: 1.067 MB / 0.6452 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1773, allocations: 0 / 0.6452 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1773, allocations: 0 / 0.6452 GB, free: 6.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.1773, allocations: 0 / 0.6452 GB, free: 6.91 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.001836/0.1792, allocations: 0.9215 MB / 0.6461 GB, free: 5.938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1792, allocations: 12.03 kB / 0.6462 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.1793, allocations: 42.73 kB / 0.6462 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.1805, allocations: 204 kB / 0.6464 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/0.1871, allocations: 3.588 MB / 0.6499 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1871, allocations: 12 kB / 0.6499 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.1872, allocations: 16 kB / 0.6499 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.1877, allocations: 249.4 kB / 0.6502 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1878, allocations: 0 / 0.6502 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1878, allocations: 4 kB / 0.6502 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1878, allocations: 8 kB / 0.6502 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.1884, allocations: 235.8 kB / 0.6504 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.1899, allocations: 0.8278 MB / 0.6512 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.1906, allocations: 302.6 kB / 0.6515 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.191, allocations: 120.8 kB / 0.6516 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.191, allocations: 7.984 kB / 0.6516 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.191, allocations: 34.56 kB / 0.6517 GB, free: 168 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 5.109e-06/0.191, allocations: 3.984 kB / 0.6517 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.00118/0.1922, allocations: 444.6 kB / 0.6521 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1923, allocations: 51.41 kB / 0.6521 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/0.1932, allocations: 0.7616 MB / 0.6529 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.1933, allocations: 29.7 kB / 0.6529 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1935, allocations: 236.8 kB / 0.6531 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.1935, allocations: 39.45 kB / 0.6532 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.1937, allocations: 158.3 kB / 0.6533 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1939, allocations: 374.8 kB / 0.6537 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.1947, allocations: 439 kB / 0.6541 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.1954, allocations: 0.5316 MB / 0.6546 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1967, allocations: 0.8703 MB / 0.6555 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1967, allocations: 0 / 0.6555 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001634/0.1983, allocations: 1.076 MB / 0.6565 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1983, allocations: 4 kB / 0.6565 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1984, allocations: 4.219 kB / 0.6565 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1984, allocations: 8 kB / 0.6565 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.1988, allocations: 107.8 kB / 0.6566 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1989, allocations: 7.984 kB / 0.6566 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.1993, allocations: 79.34 kB / 0.6567 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.1993, allocations: 28 kB / 0.6567 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007941/0.2001, allocations: 0.5364 MB / 0.6573 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008071/0.201, allocations: 472.5 kB / 0.6577 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001032/0.202, allocations: 0.7237 MB / 0.6584 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.202, allocations: 0 / 0.6584 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001387/0.2034, allocations: 0.9185 MB / 0.6593 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2034, allocations: 8 kB / 0.6593 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2034, allocations: 0 / 0.6593 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.2034, allocations: 4 kB / 0.6593 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.2039, allocations: 108 kB / 0.6594 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.2039, allocations: 11.97 kB / 0.6594 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.2044, allocations: 63.59 kB / 0.6595 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.2044, allocations: 31.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.000162/0.2046, allocations: 200.1 kB / 0.6597 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.2047, allocations: 51.25 kB / 0.6598 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.2057, allocations: 350.8 kB / 0.6601 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2057, allocations: 3.938 kB / 0.6601 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2057, allocations: 4 kB / 0.6601 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.2058, allocations: 4 kB / 0.6601 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.2062, allocations: 421.1 kB / 0.6605 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2062, allocations: 0 / 0.6605 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.2065, allocations: 39.95 kB / 0.6606 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2065, allocations: 7.938 kB / 0.6606 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2065, allocations: 4 kB / 0.6606 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2065, allocations: 4 kB / 0.6606 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2065, allocations: 4 kB / 0.6606 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.2074, allocations: 426.6 kB / 0.661 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2075, allocations: 156.3 kB / 0.6611 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.2076, allocations: 0 / 0.6611 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.2079, allocations: 23.98 kB / 0.6612 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.208, allocations: 11.98 kB / 0.6612 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.208, allocations: 11.98 kB / 0.6612 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005681/0.2086, allocations: 0.5068 MB / 0.6617 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2086, allocations: 0 / 0.6617 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008903/0.2095, 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.001641/0.2111, allocations: 1.215 MB / 0.6632 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.2129, allocations: 1.142 MB / 0.6643 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.213, allocations: 192 / 0.6643 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.2133, allocations: 131.9 kB / 0.6644 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.2141, allocations: 207.2 kB / 0.6646 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007683/0.2218, allocations: 6.049 MB / 0.6705 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.2223, allocations: 0.8973 MB / 0.6714 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005312/0.2228, allocations: 192.4 kB / 0.6716 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.2232, allocations: 199.3 kB / 0.6718 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.2232, allocations: 0 / 0.6718 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/0.2646, allocations: 17.76 MB / 0.6891 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.715, allocations: 8.5 kB / 0.6891 GB, free: 9.582 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)