Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.002769/0.002769, 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.512/1.512, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.727/2.727, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001127/0.001127, allocations: 100.3 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.234e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8634, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/1.065, allocations: 112.3 MB / 0.7436 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.066, allocations: 83.94 kB / 0.7437 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02748/1.093, allocations: 5.377 MB / 0.749 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.444e-06/1.093, allocations: 0 / 0.749 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.093, allocations: 0 / 0.749 GB, free: 4.863 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006099/1.094, allocations: 350.4 kB / 0.7493 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/1.094, allocations: 12.02 kB / 0.7493 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/1.094, allocations: 11.86 kB / 0.7493 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/1.094, allocations: 171 kB / 0.7495 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.094, allocations: 0 / 0.7495 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.094, allocations: 0 / 0.7495 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/1.095, allocations: 12 kB / 0.7495 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/1.095, allocations: 37.69 kB / 0.7495 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.095, allocations: 3.938 kB / 0.7495 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.095, allocations: 3.984 kB / 0.7495 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/1.095, allocations: 4 kB / 0.7495 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/1.095, allocations: 233.4 kB / 0.7498 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/1.096, allocations: 54.56 kB / 0.7498 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/1.096, allocations: 12.86 kB / 0.7498 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/1.096, allocations: 0 / 0.7498 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/1.096, allocations: 34.56 kB / 0.7499 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/1.096, allocations: 0 / 0.7499 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002437/1.096, allocations: 45.78 kB / 0.7499 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/1.096, allocations: 59.41 kB / 0.75 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.096, allocations: 88.94 kB / 0.75 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/1.096, allocations: 25.7 kB / 0.7501 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.096, allocations: 88.05 kB / 0.7501 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/1.096, allocations: 15.8 kB / 0.7502 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/1.096, allocations: 0 / 0.7502 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.097, allocations: 314.8 kB / 0.7505 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/1.097, allocations: 11.94 kB / 0.7505 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/1.097, allocations: 21.72 kB / 0.7505 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/1.097, allocations: 11.98 kB / 0.7505 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.097, allocations: 0 / 0.7505 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001353/1.097, allocations: 45.7 kB / 0.7505 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.097, allocations: 9.859 kB / 0.7506 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.097, allocations: 4 kB / 0.7506 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.097, allocations: 0 / 0.7506 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/1.097, allocations: 11.94 kB / 0.7506 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.097, allocations: 4.031 kB / 0.7506 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/1.097, allocations: 0 / 0.7506 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.097, allocations: 4.125 kB / 0.7506 GB, free: 2.992 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001293/1.097, allocations: 104.9 kB / 0.7507 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001304/1.097, allocations: 49.69 kB / 0.7507 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/1.098, allocations: 7.906 kB / 0.7507 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/1.098, allocations: 61.72 kB / 0.7508 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.098, allocations: 0 / 0.7508 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.098, allocations: 4 kB / 0.7508 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.098, allocations: 8.328 kB / 0.7508 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/1.098, allocations: 142.1 kB / 0.7509 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.098, allocations: 0 / 0.7509 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/1.098, allocations: 4 kB / 0.7509 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.098, allocations: 0 / 0.7509 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.098, allocations: 4 kB / 0.7509 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.098, allocations: 0 / 0.7509 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.098, allocations: 0 / 0.7509 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/1.098, allocations: 151.5 kB / 0.7511 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/1.099, allocations: 81.11 kB / 0.7512 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.099, allocations: 3.938 kB / 0.7512 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/1.099, allocations: 3.938 kB / 0.7512 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/1.099, allocations: 3.984 kB / 0.7512 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/1.099, allocations: 4 kB / 0.7512 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.095e-05/1.099, allocations: 75.28 kB / 0.7513 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/1.099, allocations: 0 / 0.7513 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004723/1.099, allocations: 20 kB / 0.7513 GB, free: 2.188 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0007387/1.1, allocations: 0.7084 MB / 0.752 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.1, allocations: 19.94 kB / 0.752 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.1, allocations: 0 / 0.752 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/1.1, allocations: 12 kB / 0.752 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/1.1, allocations: 4.062 kB / 0.752 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/1.101, allocations: 109.6 kB / 0.7521 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/1.101, allocations: 0.6807 MB / 0.7528 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.04e-05/1.102, allocations: 4 kB / 0.7528 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/1.102, allocations: 7.438 kB / 0.7528 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of SimCode: time 3.637e-06/1.102, allocations: 3.938 kB / 0.7528 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/1.137, allocations: 0.8755 MB / 0.7536 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/1.138, allocations: 154.4 kB / 0.7538 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.579, allocations: 4 kB / 0.7538 GB, free: 15.48 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)