Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002366/0.002366, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.466/1.466, allocations: 133.5 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.86/2.86, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 99.12 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.391e-05, allocations: 224 / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7425, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.955, allocations: 111.1 MB / 0.7425 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.9554, allocations: 75.95 kB / 0.7425 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01402/0.9694, allocations: 3.47 MB / 0.7459 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9695, allocations: 0 / 0.7459 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.9695, allocations: 8 kB / 0.7459 GB, free: 7.965 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005481/0.97, allocations: 338.4 kB / 0.7463 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.025e-05/0.9701, allocations: 8.031 kB / 0.7463 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.9702, allocations: 4 kB / 0.7463 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.9704, allocations: 171 kB / 0.7464 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.9704, allocations: 0 / 0.7464 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.9705, allocations: 3.938 kB / 0.7464 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.551e-05/0.9706, allocations: 8 kB / 0.7464 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.9707, allocations: 29.7 kB / 0.7465 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9707, allocations: 0 / 0.7465 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9707, allocations: 7.984 kB / 0.7465 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.9707, allocations: 0 / 0.7465 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.971, allocations: 134.1 kB / 0.7466 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.9711, allocations: 26.61 kB / 0.7466 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.9711, allocations: 8.922 kB / 0.7466 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.9712, allocations: 0 / 0.7466 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.9712, allocations: 42.44 kB / 0.7467 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.9712, allocations: 4 kB / 0.7467 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.9714, allocations: 33.69 kB / 0.7467 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.9715, allocations: 55.41 kB / 0.7468 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.9716, allocations: 89 kB / 0.7469 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.9717, allocations: 25.7 kB / 0.7469 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.9718, allocations: 80.3 kB / 0.747 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.9718, allocations: 7.906 kB / 0.747 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.9718, allocations: 0 / 0.747 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.972, allocations: 314.8 kB / 0.7473 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.9721, allocations: 4 kB / 0.7473 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.9721, allocations: 4 kB / 0.7473 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.9721, allocations: 3.984 kB / 0.7473 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9721, allocations: 0 / 0.7473 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/0.9722, allocations: 41.59 kB / 0.7473 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.9723, allocations: 8.094 kB / 0.7473 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.9723, allocations: 4 kB / 0.7473 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9723, allocations: 0 / 0.7473 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.9725, allocations: 11.98 kB / 0.7473 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.9731, allocations: 0.5782 MB / 0.7479 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.9732, allocations: 0 / 0.7479 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.9732, allocations: 0 / 0.7479 GB, free: 5.727 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.9733, allocations: 117 kB / 0.748 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.299e-05/0.9734, allocations: 49.61 kB / 0.7481 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.9735, allocations: 0 / 0.7481 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.9736, allocations: 45.34 kB / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9736, allocations: 0 / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.9737, allocations: 0 / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.9737, allocations: 3.953 kB / 0.7481 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.9738, allocations: 130.2 kB / 0.7482 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9739, allocations: 4.062 kB / 0.7482 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.974, allocations: 11.98 kB / 0.7483 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.974, allocations: 0 / 0.7483 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.974, allocations: 0 / 0.7483 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006164/0.9746, allocations: 0.5859 MB / 0.7488 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.9747, allocations: 4.031 kB / 0.7488 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.9748, allocations: 69.16 kB / 0.7489 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.9749, allocations: 77.11 kB / 0.749 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.9749, allocations: 4 kB / 0.749 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.975, allocations: 0 / 0.749 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.975, allocations: 3.953 kB / 0.749 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.975, allocations: 4 kB / 0.749 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.9751, allocations: 79.27 kB / 0.7491 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9751, allocations: 0 / 0.7491 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003713/0.9755, allocations: 16.06 kB / 0.7491 GB, free: 4.422 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007284/0.9762, allocations: 0.6085 MB / 0.7497 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.9764, allocations: 15.98 kB / 0.7497 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9764, allocations: 96 / 0.7497 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.9766, allocations: 23.92 kB / 0.7497 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.9767, allocations: 3.953 kB / 0.7497 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.9772, allocations: 89.58 kB / 0.7498 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.9776, allocations: 0.6729 MB / 0.7504 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.9776, allocations: 3.906 kB / 0.7505 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.9776, allocations: 11.42 kB / 0.7505 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/0.9777, allocations: 4.062 kB / 0.7505 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/1.01, allocations: 0.7438 MB / 0.7512 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/1.01, allocations: 158.4 kB / 0.7513 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.391, allocations: 0 / 0.7513 GB, free: 1.973 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)