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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 173.9 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7522/0.7522, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 97.98 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.419e-05/4.444e-05, allocations: 4.531 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 82.32 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.634/0.8587, allocations: 115 MB / 0.7528 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.8589, allocations: 92.06 kB / 0.7529 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.8716, allocations: 5.401 MB / 0.7582 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8717, allocations: 0 / 0.7582 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.8717, allocations: 3.844 kB / 0.7582 GB, free: 26.8 MB / 0.5105 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.0004632/0.8722, allocations: 430.1 kB / 0.7586 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8722, allocations: 11.62 kB / 0.7586 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.8723, allocations: 37.22 kB / 0.7587 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.8723, allocations: 19.47 kB / 0.7587 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.8727, allocations: 259.2 kB / 0.7589 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.8727, allocations: 0 / 0.7589 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.8727, allocations: 6.531 kB / 0.7589 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.8729, allocations: 121.5 kB / 0.7591 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.873, allocations: 0 / 0.7591 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.873, allocations: 0 / 0.7591 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.873, allocations: 3.844 kB / 0.7591 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.8732, allocations: 191.1 kB / 0.7592 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.8735, allocations: 264 kB / 0.7595 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.8739, allocations: 205.6 kB / 0.7597 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.874, allocations: 61.81 kB / 0.7597 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.874, allocations: 0 / 0.7597 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.8742, allocations: 124.9 kB / 0.7599 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.8742, allocations: 0 / 0.7599 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.000312/0.8745, allocations: 192.9 kB / 0.76 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.8745, allocations: 85.06 kB / 0.7601 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.8748, allocations: 224.6 kB / 0.7603 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.8748, allocations: 33.17 kB / 0.7604 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.8748, allocations: 107.4 kB / 0.7605 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.8749, allocations: 49.11 kB / 0.7605 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.8749, allocations: 0 / 0.7605 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.875, allocations: 339.8 kB / 0.7608 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.8751, allocations: 55.7 kB / 0.7609 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.8752, allocations: 84.05 kB / 0.761 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.8753, allocations: 63 kB / 0.761 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8753, allocations: 0 / 0.761 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002481/0.8756, allocations: 208.4 kB / 0.7612 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.8756, allocations: 3.844 kB / 0.7612 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8756, allocations: 4.062 kB / 0.7612 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8756, allocations: 3.812 kB / 0.7613 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.8757, allocations: 30.55 kB / 0.7613 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.8758, allocations: 3.875 kB / 0.7613 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.8758, allocations: 7.594 kB / 0.7613 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.8759, allocations: 4.203 kB / 0.7613 GB, free: 24.72 MB / 0.5105 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.8759, allocations: 126.1 kB / 0.7614 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.876, allocations: 19.16 kB / 0.7614 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.8764, allocations: 287.5 kB / 0.7617 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8764, allocations: 3.844 kB / 0.7617 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8764, allocations: 3.984 kB / 0.7617 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8764, allocations: 0 / 0.7617 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.8766, allocations: 273.8 kB / 0.762 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8766, allocations: 0 / 0.762 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8767, allocations: 37.3 kB / 0.762 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.8767, allocations: 3.656 kB / 0.762 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.8768, allocations: 11.73 kB / 0.762 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8768, allocations: 3.906 kB / 0.762 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.8768, allocations: 0 / 0.762 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.8771, allocations: 261.1 kB / 0.7623 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.8771, allocations: 101.9 kB / 0.7624 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.8772, allocations: 10.7 kB / 0.7624 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.8772, allocations: 7.562 kB / 0.7624 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.8773, allocations: 11.8 kB / 0.7624 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.8773, allocations: 15.58 kB / 0.7624 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001443/0.8775, allocations: 184.3 kB / 0.7626 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8775, allocations: 0 / 0.7626 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002343/0.8777, allocations: 52.77 kB / 0.7626 GB, free: 23.92 MB / 0.5105 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/0.8791, allocations: 1.126 MB / 0.7637 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.8793, allocations: 154.6 kB / 0.7639 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8793, allocations: 0 / 0.7639 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.8794, allocations: 97.23 kB / 0.764 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.8797, allocations: 38.69 kB / 0.764 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.8802, allocations: 320.2 kB / 0.7643 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.8805, allocations: 0.7351 MB / 0.765 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.8806, allocations: 51.81 kB / 0.7651 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.8807, allocations: 65.97 kB / 0.7652 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of SimCode: time 9.51e-07/0.8807, allocations: 4 kB / 0.7652 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.8968, allocations: 4.967 MB / 0.77 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.897, allocations: 212.4 kB / 0.7702 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.619, allocations: 0 / 0.7702 GB, free: 19.57 MB / 0.5105 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/linux/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)