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-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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_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.00246/0.00246, allocations: 174.6 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-master/package.mo): time 0.7212/0.7212, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.394/1.394, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.000922/0.0009223, allocations: 93.89 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.64e-05/6.672e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6058/0.7486, allocations: 113 MB / 0.7508 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.7488, allocations: 89.19 kB / 0.7509 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.7637, allocations: 5.395 MB / 0.7562 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7638, allocations: 0 / 0.7562 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.7638, allocations: 0 / 0.7562 GB, free: 27.32 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.0004236/0.7642, allocations: 370.2 kB / 0.7566 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.7643, allocations: 11.5 kB / 0.7566 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.7644, allocations: 30.56 kB / 0.7566 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.7644, allocations: 7.859 kB / 0.7566 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7645, allocations: 163 kB / 0.7568 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7645, allocations: 0.625 kB / 0.7568 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.7646, allocations: 0.625 kB / 0.7568 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.7647, allocations: 42 kB / 0.7568 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7647, allocations: 4 kB / 0.7568 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7647, allocations: 11.72 kB / 0.7568 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7647, allocations: 0 / 0.7568 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.7648, allocations: 14.56 kB / 0.7568 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.7651, allocations: 250.8 kB / 0.7571 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.7654, allocations: 48.09 kB / 0.7571 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.7654, allocations: 24.47 kB / 0.7571 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.7654, allocations: 4.078 kB / 0.7571 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.7655, allocations: 35.25 kB / 0.7572 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.7655, allocations: 0 / 0.7572 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.7656, allocations: 49.69 kB / 0.7572 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7657, allocations: 55.39 kB / 0.7573 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.7658, allocations: 94.25 kB / 0.7574 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.7658, allocations: 30.45 kB / 0.7574 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.7659, allocations: 84.86 kB / 0.7575 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.7659, allocations: 13.56 kB / 0.7575 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.7659, allocations: 2.562 kB / 0.7575 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.766, allocations: 314.8 kB / 0.7578 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.766, allocations: 10.5 kB / 0.7578 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.7661, allocations: 16.69 kB / 0.7578 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.7661, allocations: 18.94 kB / 0.7578 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7661, allocations: 0 / 0.7578 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.942e-05/0.7662, allocations: 48.09 kB / 0.7579 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7662, allocations: 8.469 kB / 0.7579 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7663, allocations: 0 / 0.7579 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7663, allocations: 0 / 0.7579 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/0.7663, allocations: 15.48 kB / 0.7579 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7663, allocations: 3.953 kB / 0.7579 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.7664, allocations: 3.875 kB / 0.7579 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.7664, allocations: 3.25 kB / 0.7579 GB, free: 25.57 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.809e-05/0.7665, allocations: 105 kB / 0.758 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.7665, allocations: 3.875 kB / 0.758 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.7666, allocations: 58.28 kB / 0.7581 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.7666, allocations: 3.984 kB / 0.7581 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7667, allocations: 0 / 0.7581 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7667, allocations: 3.953 kB / 0.7581 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.7668, allocations: 164.8 kB / 0.7582 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7668, allocations: 7.875 kB / 0.7582 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.7669, allocations: 8 kB / 0.7582 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7669, allocations: 0 / 0.7582 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.7669, allocations: 4 kB / 0.7583 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7669, allocations: 4.547 kB / 0.7583 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7669, allocations: 0 / 0.7583 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.7671, allocations: 144.9 kB / 0.7584 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.7671, allocations: 77.11 kB / 0.7585 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.7671, allocations: 10.73 kB / 0.7585 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.7672, allocations: 7.875 kB / 0.7585 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.7672, allocations: 4.031 kB / 0.7585 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.7672, allocations: 0 / 0.7585 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.7672, allocations: 79.16 kB / 0.7586 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7672, allocations: 0 / 0.7586 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002553/0.7675, allocations: 22.47 kB / 0.7586 GB, free: 24.88 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.0004566/0.768, allocations: 0.7153 MB / 0.7593 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.7681, allocations: 23.06 kB / 0.7593 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7681, allocations: 0 / 0.7593 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.7681, allocations: 10.88 kB / 0.7593 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.7683, allocations: 4 kB / 0.7593 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.7686, allocations: 117.3 kB / 0.7594 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.7689, allocations: 0.6769 MB / 0.7601 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.7689, allocations: 12.02 kB / 0.7601 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.7689, allocations: 11.38 kB / 0.7601 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.769, allocations: 3.875 kB / 0.7601 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.7813, allocations: 1.161 MB / 0.7613 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.7815, allocations: 165.5 kB / 0.7614 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.301, allocations: 0 / 0.7614 GB, free: 22.57 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)