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: translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 105.4 kB / 16.52 MB, free: 6.266 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.001721/0.001721, allocations: 197 kB / 17.44 MB, free: 5.887 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001524, allocations: 59.89 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4116, allocations: 76.18 MB / 0.5564 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003546/0.4152, allocations: 2.343 MB / 0.5587 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00582/0.4211, allocations: 3.883 MB / 0.5625 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.4215, allocations: 11.84 kB / 0.5625 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006554/0.428, allocations: 2.966 MB / 0.5654 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.4291, allocations: 359.1 kB / 0.5657 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4303, allocations: 456.8 kB / 0.5661 GB, free: 30.92 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.005512/0.4359, allocations: 3.386 MB / 0.5695 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.436, allocations: 44.34 kB / 0.5695 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.4364, allocations: 179.4 kB / 0.5697 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.4368, allocations: 231.9 kB / 0.5699 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.4368, allocations: 10.94 kB / 0.5699 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.4384, allocations: 0.762 MB / 0.5706 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.4387, allocations: 212.3 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.4389, allocations: 229.3 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.44, allocations: 0.7236 MB / 0.5718 GB, free: 29.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.44, allocations: 1.344 kB / 0.5718 GB, free: 29.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.44, allocations: 0 / 0.5718 GB, free: 29.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.44, allocations: 1.375 kB / 0.5718 GB, free: 29.23 MB / 446.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.001445/0.4415, allocations: 0.8729 MB / 0.5726 GB, free: 28.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4415, allocations: 10.02 kB / 0.5726 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.4428, allocations: 207.3 kB / 0.5728 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.4448, allocations: 0.9619 MB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.4448, allocations: 12.84 kB / 0.5738 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4449, allocations: 13.06 kB / 0.5738 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.4455, allocations: 264.9 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4455, allocations: 0 / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.4455, allocations: 5.594 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4455, allocations: 1.375 kB / 0.5741 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.4462, allocations: 237.1 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.4476, allocations: 0.822 MB / 0.5751 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.4483, allocations: 306.5 kB / 0.5754 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.4487, allocations: 120.3 kB / 0.5755 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.4487, allocations: 6.484 kB / 0.5755 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.4487, allocations: 39.2 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.4487, allocations: 3.031 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001258/0.45, allocations: 448.5 kB / 0.576 GB, free: 27.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.45, allocations: 54.77 kB / 0.576 GB, free: 27.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/0.4509, allocations: 0.736 MB / 0.5767 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4509, allocations: 28.05 kB / 0.5768 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4511, allocations: 228.9 kB / 0.577 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.4511, allocations: 45.12 kB / 0.577 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.4514, allocations: 155.4 kB / 0.5772 GB, free: 26.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4515, allocations: 373.9 kB / 0.5775 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.4522, allocations: 440.2 kB / 0.578 GB, free: 25.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.453, allocations: 0.5293 MB / 0.5785 GB, free: 25.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.4543, allocations: 0.8732 MB / 0.5793 GB, free: 25.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4543, allocations: 3.938 kB / 0.5793 GB, free: 25.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001855/0.4562, allocations: 1.082 MB / 0.5804 GB, free: 24.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4562, allocations: 9.656 kB / 0.5804 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4562, allocations: 1.125 kB / 0.5804 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.4563, allocations: 4.641 kB / 0.5804 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.4568, allocations: 110.1 kB / 0.5805 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4568, allocations: 8.406 kB / 0.5805 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.4574, allocations: 72.67 kB / 0.5806 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.4574, allocations: 29.48 kB / 0.5806 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008528/0.4583, allocations: 0.5449 MB / 0.5811 GB, free: 24.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006318/0.4589, allocations: 466.9 kB / 0.5816 GB, free: 24.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001091/0.46, allocations: 0.7292 MB / 0.5823 GB, free: 23.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.46, allocations: 0 / 0.5823 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.00148/0.4615, allocations: 0.9261 MB / 0.5832 GB, free: 23.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4616, allocations: 5.906 kB / 0.5832 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4616, allocations: 2.188 kB / 0.5832 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.4616, allocations: 3.219 kB / 0.5832 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.462, allocations: 109.3 kB / 0.5833 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.462, allocations: 3.281 kB / 0.5833 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.4625, allocations: 57.06 kB / 0.5834 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.4626, allocations: 27.92 kB / 0.5834 GB, free: 23.44 MB / 446.1 MB 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.0001532/0.4627, allocations: 208.5 kB / 0.5836 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.4628, allocations: 52.81 kB / 0.5836 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.4638, allocations: 357.9 kB / 0.584 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4638, allocations: 2.281 kB / 0.584 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4638, allocations: 0 / 0.584 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4638, allocations: 3.984 kB / 0.584 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.4643, allocations: 408.4 kB / 0.5844 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4643, allocations: 0 / 0.5844 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4646, allocations: 49.17 kB / 0.5844 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4646, allocations: 1.5 kB / 0.5844 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.4646, allocations: 6.281 kB / 0.5844 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4646, allocations: 5.125 kB / 0.5844 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4646, allocations: 0 / 0.5844 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.4654, allocations: 426 kB / 0.5848 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.4656, allocations: 145.4 kB / 0.585 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.4657, allocations: 5.125 kB / 0.585 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4659, allocations: 20.44 kB / 0.585 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.466, allocations: 9.766 kB / 0.585 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.466, allocations: 16.47 kB / 0.585 GB, free: 22.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005732/0.4666, allocations: 0.494 MB / 0.5855 GB, free: 21.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4666, allocations: 0 / 0.5855 GB, free: 21.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001444/0.4681, allocations: 315.4 kB / 0.5858 GB, free: 21.87 MB / 446.1 MB 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.0007981/0.4689, allocations: 375.5 kB / 0.5862 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.4706, allocations: 1.148 MB / 0.5873 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4706, allocations: 0 / 0.5873 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.4709, allocations: 133.7 kB / 0.5874 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.4717, allocations: 182.6 kB / 0.5876 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4729, allocations: 1.087 MB / 0.5887 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4732, allocations: 0.8877 MB / 0.5895 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.4734, allocations: 55.41 kB / 0.5896 GB, free: 18.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4734, allocations: 0 / 0.5896 GB, free: 18.2 MB / 446.1 MB Notification: Performance of Templates: time 0.01097/0.4844, allocations: 9.914 MB / 0.5993 GB, free: 8.371 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)