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.0009219/0.000922, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005294/0.005294, allocations: 169.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7269/0.7269, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 12.55 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3452, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00107/0.3463, allocations: 1.011 MB / 0.5847 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.3472, allocations: 0.5982 MB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.3472, allocations: 4 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.3472, allocations: 0.7969 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.3473, allocations: 5.797 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3477, allocations: 121.4 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.3477, allocations: 23.66 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.3478, allocations: 2.891 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.3478, allocations: 4.891 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.3478, allocations: 13.48 kB / 0.5855 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3479, allocations: 5 kB / 0.5855 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.3484, allocations: 345.2 kB / 0.5858 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3484, allocations: 7.406 kB / 0.5858 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.3484, allocations: 33.28 kB / 0.5859 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3487, allocations: 152.3 kB / 0.586 GB, free: 2.598 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3487, allocations: 0.5625 kB / 0.586 GB, free: 2.598 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3487, allocations: 0 / 0.586 GB, free: 2.598 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.3487, allocations: 1.156 kB / 0.586 GB, free: 2.598 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.0002865/0.349, allocations: 354.3 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.349, allocations: 13.06 kB / 0.5864 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.349, allocations: 32.58 kB / 0.5864 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.925e-05/0.3491, allocations: 2.453 kB / 0.5864 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.574e-05/0.3491, allocations: 167.3 kB / 0.5866 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3492, allocations: 2.188 kB / 0.5866 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.3492, allocations: 1.125 kB / 0.5866 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.3493, allocations: 44.09 kB / 0.5866 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.3493, allocations: 0.6562 kB / 0.5866 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.3493, allocations: 4 kB / 0.5866 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3493, allocations: 5.156 kB / 0.5866 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.105e-05/0.3494, allocations: 20.33 kB / 0.5866 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.3496, allocations: 253 kB / 0.5869 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3498, allocations: 49.84 kB / 0.5869 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.3498, allocations: 17.86 kB / 0.5869 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3498, allocations: 2.25 kB / 0.5869 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.3499, allocations: 36.22 kB / 0.587 GB, free: 1.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.3499, allocations: 0 / 0.587 GB, free: 1.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.35, allocations: 63.61 kB / 0.587 GB, free: 1.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.3501, allocations: 57.25 kB / 0.5871 GB, free: 1.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.3501, allocations: 99.25 kB / 0.5872 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.3501, allocations: 26.36 kB / 0.5872 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.3501, allocations: 85.33 kB / 0.5873 GB, free: 1.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.3502, allocations: 14.45 kB / 0.5873 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.3502, allocations: 11.61 kB / 0.5873 GB, free: 1.199 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.3502, allocations: 322.3 kB / 0.5876 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.3502, allocations: 3.766 kB / 0.5876 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.3503, allocations: 21.89 kB / 0.5876 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.3503, allocations: 33.84 kB / 0.5877 GB, free: 0.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3503, allocations: 0.6875 kB / 0.5877 GB, free: 0.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.337e-05/0.3504, allocations: 60.19 kB / 0.5877 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3504, allocations: 5.906 kB / 0.5877 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3505, allocations: 0 / 0.5877 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3505, allocations: 5.875 kB / 0.5877 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.3505, allocations: 8.469 kB / 0.5878 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3505, allocations: 0 / 0.5878 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.3506, allocations: 5 kB / 0.5878 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3506, allocations: 2.484 kB / 0.5878 GB, free: 0.7812 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.3506, allocations: 118.1 kB / 0.5879 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3507, allocations: 9.438 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.3508, allocations: 62.62 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3508, allocations: 1.5 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3508, allocations: 0.5156 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3508, allocations: 0 / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.3509, allocations: 158.9 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3509, allocations: 0.6562 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.351, allocations: 6.438 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.351, allocations: 1.25 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.351, allocations: 4.75 kB / 0.5881 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.351, allocations: 1.062 kB / 0.5881 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.351, allocations: 0 / 0.5881 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.3511, allocations: 155.9 kB / 0.5883 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.3511, allocations: 78.91 kB / 0.5883 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3511, allocations: 5.578 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.3512, allocations: 1.156 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.3512, allocations: 2 kB / 0.5883 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3512, allocations: 10.48 kB / 0.5883 GB, free: 152 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.602e-05/0.3512, allocations: 78.09 kB / 0.5884 GB, free: 76 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3512, allocations: 0 / 0.5884 GB, free: 76 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3515, allocations: 19.27 kB / 0.5884 GB, free: 72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004199/0.3519, allocations: 0.7078 MB / 0.5891 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.352, allocations: 25.41 kB / 0.5892 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.352, allocations: 0 / 0.5892 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.352, allocations: 9.531 kB / 0.5892 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3523, allocations: 9.109 kB / 0.5892 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3527, allocations: 169.1 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3529, allocations: 0.6807 MB / 0.59 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.3529, allocations: 7.203 kB / 0.59 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.353, allocations: 14.09 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.353, allocations: 0 / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/0.482, allocations: 1.186 MB / 0.5912 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.4823, allocations: 209.8 kB / 0.5914 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.033, allocations: 0 / 0.5914 GB, free: 14.1 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/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)