Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.008073/0.008073, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001855/0.001856, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 0.5814 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4477, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002876/0.4506, allocations: 2.025 MB / 0.6616 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.4533, allocations: 2.014 MB / 0.6636 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.4535, allocations: 4.5 kB / 0.6636 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.4541, allocations: 269.4 kB / 0.6639 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.4548, allocations: 292.4 kB / 0.6642 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007955/0.4556, allocations: 486 kB / 0.6646 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.4561, allocations: 466 kB / 0.6651 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4563, allocations: 41.25 kB / 0.6651 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.4565, allocations: 176.5 kB / 0.6653 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.4567, allocations: 169.8 kB / 0.6654 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.4567, allocations: 14.34 kB / 0.6654 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.4573, allocations: 452.4 kB / 0.6659 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.4574, allocations: 95.3 kB / 0.666 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.4575, allocations: 120.2 kB / 0.6661 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.4581, allocations: 0.5864 MB / 0.6667 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4582, allocations: 0 / 0.6667 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4582, allocations: 1.031 kB / 0.6667 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.4582, allocations: 0 / 0.6667 GB, free: 5.508 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007728/0.459, allocations: 0.5899 MB / 0.6672 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.459, allocations: 9.906 kB / 0.6672 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.4593, allocations: 52.06 kB / 0.6673 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4597, allocations: 334.8 kB / 0.6676 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4597, allocations: 6.781 kB / 0.6676 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4598, allocations: 12.09 kB / 0.6676 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.4601, allocations: 158.3 kB / 0.6678 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4601, allocations: 0 / 0.6678 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4601, allocations: 1.375 kB / 0.6678 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4601, allocations: 1.094 kB / 0.6678 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.4605, allocations: 131.4 kB / 0.6679 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.4611, allocations: 0.4906 MB / 0.6684 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.4614, allocations: 125.2 kB / 0.6685 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.4616, allocations: 65.19 kB / 0.6686 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.4616, allocations: 5.562 kB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.4616, allocations: 32.12 kB / 0.6686 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.4617, allocations: 0 / 0.6686 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006567/0.4623, allocations: 245.7 kB / 0.6688 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.4623, allocations: 52.59 kB / 0.6689 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.4626, allocations: 335.8 kB / 0.6692 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4626, allocations: 30.77 kB / 0.6692 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.4627, allocations: 149.5 kB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.4628, allocations: 31.83 kB / 0.6694 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.4628, allocations: 50.16 kB / 0.6695 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.4629, allocations: 338.3 kB / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.4631, allocations: 121.4 kB / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.4634, allocations: 165.9 kB / 0.6701 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.4639, allocations: 273 kB / 0.6703 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4639, allocations: 5.062 kB / 0.6703 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006049/0.4645, allocations: 337.5 kB / 0.6706 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4645, allocations: 7.906 kB / 0.6707 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4645, allocations: 1.344 kB / 0.6707 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4645, allocations: 6.875 kB / 0.6707 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.4648, allocations: 45.31 kB / 0.6707 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4648, allocations: 3.531 kB / 0.6707 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.465, allocations: 28.55 kB / 0.6707 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.465, allocations: 15.02 kB / 0.6707 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002978/0.4653, allocations: 211.4 kB / 0.6709 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002561/0.4656, allocations: 144.2 kB / 0.6711 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004782/0.4661, allocations: 239 kB / 0.6713 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.4661, allocations: 0 / 0.6713 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006064/0.4667, allocations: 296 kB / 0.6716 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.4667, allocations: 6.312 kB / 0.6716 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4667, allocations: 2.562 kB / 0.6716 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/0.4667, allocations: 2.625 kB / 0.6716 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.4669, allocations: 51.53 kB / 0.6717 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4669, allocations: 2.125 kB / 0.6717 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.4671, allocations: 20.73 kB / 0.6717 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.4671, allocations: 13.69 kB / 0.6717 GB, free: 1.723 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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 prepare postOptimizeDAE: time 9.1e-05/0.4672, allocations: 195.4 kB / 0.6719 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.4673, allocations: 26.41 kB / 0.6719 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.4678, allocations: 205.6 kB / 0.6721 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4679, allocations: 9.109 kB / 0.6721 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4679, allocations: 0 / 0.6721 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4679, allocations: 1.094 kB / 0.6721 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.4682, allocations: 275.9 kB / 0.6724 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4682, allocations: 0 / 0.6724 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.4683, allocations: 23.33 kB / 0.6724 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4683, allocations: 5.094 kB / 0.6724 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4684, allocations: 9.125 kB / 0.6724 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4684, allocations: 1.125 kB / 0.6724 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4684, allocations: 0 / 0.6724 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.4688, allocations: 279.1 kB / 0.6727 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.4689, allocations: 113.8 kB / 0.6728 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.469, allocations: 7.938 kB / 0.6728 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4691, allocations: 17.33 kB / 0.6728 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4692, allocations: 8.562 kB / 0.6728 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4692, allocations: 10.95 kB / 0.6728 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002091/0.4694, allocations: 236.7 kB / 0.6731 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4694, allocations: 0 / 0.6731 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006329/0.47, allocations: 145.1 kB / 0.6732 GB, free: 0.5586 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 (10): * Single equations (assignments): 10 * 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.0003899/0.4704, allocations: 199.9 kB / 0.6734 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.4712, allocations: 334.6 kB / 0.6737 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4712, allocations: 0 / 0.6737 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4714, allocations: 68.33 kB / 0.6738 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.4719, allocations: 93.94 kB / 0.6739 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.4728, allocations: 471.9 kB / 0.6743 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.4731, allocations: 0.7654 MB / 0.6751 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000259/0.4734, allocations: 88.62 kB / 0.6751 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.4735, allocations: 26 kB / 0.6752 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.4735, allocations: 0 / 0.6752 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.01167/0.4852, allocations: 6.57 MB / 0.6816 GB, free: 11.9 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)