Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.006643/0.006643, allocations: 106.1 kB / 15.74 MB, free: 6.035 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.001624/0.001624, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7162/0.7162, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 67.89 kB / 0.5809 GB, free: 8.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3951, allocations: 80.2 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003034/0.3982, allocations: 1.634 MB / 0.6608 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4002, allocations: 1.483 MB / 0.6622 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.4003, allocations: 3.938 kB / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.4008, allocations: 56.84 kB / 0.6623 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.401, allocations: 51.62 kB / 0.6624 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.4014, allocations: 108.4 kB / 0.6625 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.4016, allocations: 168.5 kB / 0.6626 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.4017, allocations: 5.797 kB / 0.6626 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.4018, allocations: 63 kB / 0.6627 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.402, allocations: 68.42 kB / 0.6627 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.402, allocations: 10.16 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.4022, allocations: 65.02 kB / 0.6628 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.4023, allocations: 51.41 kB / 0.6629 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.4023, allocations: 57.5 kB / 0.6629 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.4027, allocations: 198 kB / 0.6631 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4027, allocations: 1.5 kB / 0.6631 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4027, allocations: 0 / 0.6631 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4027, allocations: 3.938 kB / 0.6631 GB, free: 7.258 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006413/0.4034, allocations: 465.6 kB / 0.6636 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4034, allocations: 8.688 kB / 0.6636 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.4035, allocations: 38.78 kB / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.4035, allocations: 20.91 kB / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.4039, allocations: 261.9 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.404, allocations: 2.438 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.404, allocations: 11.8 kB / 0.6639 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.4042, allocations: 119.2 kB / 0.664 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4043, allocations: 0 / 0.664 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4043, allocations: 1.188 kB / 0.664 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4043, allocations: 1.188 kB / 0.664 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.4045, allocations: 144 kB / 0.6641 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.4047, allocations: 252.2 kB / 0.6644 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.4051, allocations: 170.7 kB / 0.6645 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.4052, allocations: 49.34 kB / 0.6646 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4052, allocations: 8.422 kB / 0.6646 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.4054, allocations: 110.8 kB / 0.6647 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.4054, allocations: 1.406 kB / 0.6647 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004693/0.4059, allocations: 226.6 kB / 0.6649 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4059, allocations: 78.3 kB / 0.665 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.4061, allocations: 207.6 kB / 0.6652 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4062, allocations: 27.86 kB / 0.6652 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.4062, allocations: 115.4 kB / 0.6653 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.4063, allocations: 46.86 kB / 0.6654 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.4063, allocations: 38.17 kB / 0.6654 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.4064, allocations: 332 kB / 0.6657 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.4065, allocations: 48.56 kB / 0.6658 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.4066, allocations: 75.33 kB / 0.6658 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.4068, allocations: 134.4 kB / 0.666 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4068, allocations: 0 / 0.666 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002882/0.4071, allocations: 186.4 kB / 0.6662 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4071, allocations: 7.562 kB / 0.6662 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4071, allocations: 0 / 0.6662 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4071, allocations: 1.125 kB / 0.6662 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4072, allocations: 29.55 kB / 0.6662 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4073, allocations: 1.375 kB / 0.6662 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.4073, allocations: 15.5 kB / 0.6662 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4073, allocations: 5.031 kB / 0.6662 GB, free: 4.723 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 9.106e-05/0.4074, allocations: 146.2 kB / 0.6663 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.4075, allocations: 15.34 kB / 0.6664 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.4075, allocations: 23.05 kB / 0.6664 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4075, allocations: 1.094 kB / 0.6664 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4075, allocations: 1.344 kB / 0.6664 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4076, allocations: 3.984 kB / 0.6664 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.4077, allocations: 238.8 kB / 0.6666 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4077, allocations: 0 / 0.6666 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.4078, allocations: 19.23 kB / 0.6666 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4078, allocations: 5.25 kB / 0.6666 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4078, allocations: 7.219 kB / 0.6667 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4078, allocations: 0 / 0.6667 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4078, allocations: 5.062 kB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.4081, allocations: 209.9 kB / 0.6669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.4082, allocations: 88.61 kB / 0.6669 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4082, allocations: 7.5 kB / 0.6669 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.4083, allocations: 13.39 kB / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4083, allocations: 14.03 kB / 0.667 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4083, allocations: 12.86 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001108/0.4085, allocations: 150.5 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4085, allocations: 1.25 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002524/0.4087, allocations: 37.95 kB / 0.6672 GB, free: 3.91 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001332/0.4101, allocations: 1.095 MB / 0.6682 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4103, allocations: 128.3 kB / 0.6684 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4103, allocations: 5.062 kB / 0.6684 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4104, allocations: 62.48 kB / 0.6684 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4107, allocations: 36.73 kB / 0.6685 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4125, allocations: 1.944 MB / 0.6704 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4127, allocations: 0.7176 MB / 0.6711 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.4128, allocations: 54.59 kB / 0.6711 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.4129, allocations: 56.66 kB / 0.6712 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4129, allocations: 1.312 kB / 0.6712 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4363, allocations: 4.75 MB / 0.6758 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.54, allocations: 8.609 kB / 0.6758 GB, free: 14.26 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)