Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.00143, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7457/0.7457, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.602/1.602, allocations: 221.3 MB / 396.8 MB, free: 9.105 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.0009548/0.0009545, allocations: 105.3 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.426e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1726, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.62/0.7927, allocations: 112.7 MB / 0.7449 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.7929, allocations: 82.42 kB / 0.7449 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.8073, allocations: 5.409 MB / 0.7502 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8073, allocations: 0 / 0.7502 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.8073, allocations: 3.938 kB / 0.7502 GB, free: 27.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003457/0.8077, allocations: 349.1 kB / 0.7506 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8077, allocations: 7.719 kB / 0.7506 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.8078, allocations: 14.59 kB / 0.7506 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.8079, allocations: 162.6 kB / 0.7507 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.8079, allocations: 0 / 0.7507 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.8079, allocations: 7.906 kB / 0.7507 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.808, allocations: 46.47 kB / 0.7508 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.8081, allocations: 3.938 kB / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8081, allocations: 0 / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8081, allocations: 0 / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.925e-05/0.8081, allocations: 21.81 kB / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.8085, allocations: 244.5 kB / 0.751 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.8087, allocations: 48.17 kB / 0.7511 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.8087, allocations: 20.23 kB / 0.7511 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.8087, allocations: 6.828 kB / 0.7511 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.8088, allocations: 30.56 kB / 0.7511 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8088, allocations: 0 / 0.7511 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.8089, allocations: 47.81 kB / 0.7512 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.809, allocations: 55.25 kB / 0.7512 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.809, allocations: 100.6 kB / 0.7513 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.8091, allocations: 25.7 kB / 0.7514 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.8091, allocations: 87.19 kB / 0.7515 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.8091, allocations: 7.844 kB / 0.7515 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.8091, allocations: 3.906 kB / 0.7515 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8093, allocations: 310.8 kB / 0.7518 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.8093, allocations: 7.531 kB / 0.7518 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.8093, allocations: 23.41 kB / 0.7518 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.8093, allocations: 11.73 kB / 0.7518 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8093, allocations: 0 / 0.7518 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.055e-05/0.8094, allocations: 61.53 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.8094, allocations: 3.812 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8095, allocations: 3.844 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8095, allocations: 3.938 kB / 0.7519 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.8095, allocations: 10.31 kB / 0.7519 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.8096, allocations: 3.953 kB / 0.7519 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.8096, allocations: 3.812 kB / 0.7519 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.8096, allocations: 7.938 kB / 0.7519 GB, free: 25.98 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: 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 6.644e-05/0.8097, allocations: 104.8 kB / 0.752 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.8097, allocations: 0 / 0.752 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.8098, allocations: 61.59 kB / 0.7521 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8098, allocations: 3.875 kB / 0.7521 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8099, allocations: 3.938 kB / 0.7521 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8099, allocations: 3.953 kB / 0.7521 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.81, allocations: 168.7 kB / 0.7522 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.81, allocations: 8 kB / 0.7522 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.8101, allocations: 10.62 kB / 0.7522 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8101, allocations: 0 / 0.7522 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.8101, allocations: 0 / 0.7522 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8101, allocations: 0 / 0.7522 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8101, allocations: 0 / 0.7522 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.8102, allocations: 148.4 kB / 0.7524 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.8103, allocations: 80.11 kB / 0.7525 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.8103, allocations: 4 kB / 0.7525 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/0.8103, allocations: 0 / 0.7525 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.8103, allocations: 3.844 kB / 0.7525 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.8104, allocations: 3.938 kB / 0.7525 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.8104, allocations: 82.31 kB / 0.7525 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8104, allocations: 0 / 0.7525 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002245/0.8106, allocations: 22.25 kB / 0.7526 GB, free: 25.3 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: 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.000195/0.8108, allocations: 134.4 kB / 0.7527 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.934e-05/0.8109, allocations: 22.84 kB / 0.7527 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8109, allocations: 0 / 0.7527 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.811, allocations: 15.19 kB / 0.7527 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.8111, allocations: 3.094 kB / 0.7527 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.8113, allocations: 63.22 kB / 0.7528 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.8115, allocations: 0.6758 MB / 0.7535 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.8116, allocations: 11.86 kB / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.8116, allocations: 11.38 kB / 0.7535 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8116, allocations: 0 / 0.7535 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.002241/0.8138, allocations: 493.5 kB / 0.754 GB, free: 24.35 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)