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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 95.62 kB / 15.05 MB, free: 1.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.041/2.041, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.154/1.154, allocations: 132.2 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006222, allocations: 15.94 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7779, allocations: 81.56 MB / 0.583 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00205/0.78, allocations: 0.9922 MB / 0.5839 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.7813, allocations: 0.5266 MB / 0.5844 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.7813, allocations: 1.312 kB / 0.5844 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.7813, allocations: 4.594 kB / 0.5845 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.7814, allocations: 4.5 kB / 0.5845 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.7821, allocations: 127 kB / 0.5846 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.7822, allocations: 16.75 kB / 0.5846 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.391e-05/0.7823, allocations: 1.453 kB / 0.5846 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.7823, allocations: 6.141 kB / 0.5846 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.7824, allocations: 9.125 kB / 0.5846 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7824, allocations: 6.25 kB / 0.5846 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.7834, allocations: 357.5 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.7834, allocations: 0.7031 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.7834, allocations: 29.44 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.7838, allocations: 107.4 kB / 0.5851 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7838, allocations: 0 / 0.5851 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.686e-06/0.7838, allocations: 3.938 kB / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.7838, allocations: 0 / 0.5851 GB, free: 2.531 MB / 430.1 MB 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.0004601/0.7843, allocations: 350.5 kB / 0.5854 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.7844, allocations: 10.45 kB / 0.5854 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.7844, allocations: 36.08 kB / 0.5855 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.7845, allocations: 1 kB / 0.5855 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7846, allocations: 170 kB / 0.5856 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.7846, allocations: 5.812 kB / 0.5856 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.7846, allocations: 0.6875 kB / 0.5856 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.7848, allocations: 40.64 kB / 0.5857 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7848, allocations: 0 / 0.5857 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.7848, allocations: 0 / 0.5857 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.7848, allocations: 0.9375 kB / 0.5857 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.7849, allocations: 23.95 kB / 0.5857 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.7853, allocations: 253.7 kB / 0.5859 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.7856, allocations: 50.11 kB / 0.586 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.7856, allocations: 4.734 kB / 0.586 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.7857, allocations: 36.88 kB / 0.586 GB, free: 1.504 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.7857, allocations: 0 / 0.586 GB, free: 1.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002296/0.7859, allocations: 58.61 kB / 0.5861 GB, free: 1.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.786, allocations: 53.06 kB / 0.5861 GB, free: 1.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.786, allocations: 110.7 kB / 0.5862 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.7861, allocations: 27.08 kB / 0.5863 GB, free: 1.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.7861, allocations: 82.14 kB / 0.5863 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.7861, allocations: 14.11 kB / 0.5864 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.7861, allocations: 0 / 0.5864 GB, free: 1.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.7862, allocations: 313.7 kB / 0.5867 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.7862, allocations: 8.547 kB / 0.5867 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.7863, allocations: 17.84 kB / 0.5867 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.7863, allocations: 13.7 kB / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7864, allocations: 0.7188 kB / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.7865, allocations: 64.06 kB / 0.5868 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.7865, allocations: 5.125 kB / 0.5868 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7865, allocations: 0 / 0.5868 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7866, allocations: 1.922 kB / 0.5868 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.7866, allocations: 7.453 kB / 0.5868 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7867, allocations: 6.016 kB / 0.5868 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.7867, allocations: 4.625 kB / 0.5868 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.7867, allocations: 9.891 kB / 0.5868 GB, free: 0.7578 MB / 430.1 MB 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 () * Number of clocked 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.979e-05/0.7868, allocations: 112.6 kB / 0.5869 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.7868, allocations: 6.406 kB / 0.5869 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.787, allocations: 61.97 kB / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.7871, allocations: 1.094 kB / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7871, allocations: 0 / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7871, allocations: 0.5625 kB / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.7873, allocations: 159.8 kB / 0.5871 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7873, allocations: 4 kB / 0.5871 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.7873, allocations: 10.7 kB / 0.5871 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7874, allocations: 0.7969 kB / 0.5871 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.7874, allocations: 1.469 kB / 0.5871 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7874, allocations: 0 / 0.5871 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7874, allocations: 3.938 kB / 0.5871 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.7875, allocations: 151.8 kB / 0.5873 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.7876, allocations: 79.58 kB / 0.5874 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.7876, allocations: 5.812 kB / 0.5874 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.7877, allocations: 0 / 0.5874 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.7877, allocations: 6.984 kB / 0.5874 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7878, allocations: 0.875 kB / 0.5874 GB, free: 136 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.7878, allocations: 78.66 kB / 0.5874 GB, free: 60 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7878, allocations: 0 / 0.5874 GB, free: 60 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000438/0.7882, allocations: 18.59 kB / 0.5875 GB, free: 56 kB / 430.1 MB 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 () * Number of clocked 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.0007299/0.789, allocations: 0.715 MB / 0.5882 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.7891, allocations: 21.78 kB / 0.5882 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7891, allocations: 0 / 0.5882 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.7892, allocations: 13.77 kB / 0.5882 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.7894, allocations: 2.641 kB / 0.5882 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/0.7903, allocations: 169.8 kB / 0.5884 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.7907, allocations: 0.6835 MB / 0.589 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.7908, allocations: 4.047 kB / 0.589 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.7908, allocations: 10 kB / 0.589 GB, free: 14.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.7908, allocations: 0 / 0.589 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.8079, allocations: 1.164 MB / 0.5902 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.8083, allocations: 197 kB / 0.5904 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.501, allocations: 0 / 0.5904 GB, free: 14.11 MB / 446.1 MB (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) Environment - environmentSimulation: