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.0008109/0.0008109, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008902/0.0008903, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7771/0.7771, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003279, allocations: 8.219 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4303, allocations: 81.57 MB / 0.5831 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001554/0.4319, allocations: 0.9963 MB / 0.5841 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.4329, allocations: 0.5573 MB / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.4329, allocations: 0 / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.433, allocations: 2.016 kB / 0.5847 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.433, allocations: 5.594 kB / 0.5847 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.4337, allocations: 124.8 kB / 0.5848 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.4337, allocations: 14.61 kB / 0.5848 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4338, allocations: 1.984 kB / 0.5848 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.4338, allocations: 11.91 kB / 0.5848 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.4339, allocations: 6.25 kB / 0.5848 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.4339, allocations: 1.312 kB / 0.5848 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.4345, allocations: 336.1 kB / 0.5851 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.4346, allocations: 6.625 kB / 0.5852 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.4346, allocations: 27.08 kB / 0.5852 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.4348, allocations: 102.2 kB / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4348, allocations: 4 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4349, allocations: 0.8125 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.4349, allocations: 0 / 0.5853 GB, free: 2.895 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.0003861/0.4353, allocations: 355.4 kB / 0.5856 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4353, allocations: 13.38 kB / 0.5856 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.4353, allocations: 32.02 kB / 0.5857 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.4354, allocations: 1.656 kB / 0.5857 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.4355, allocations: 169.1 kB / 0.5858 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.4355, allocations: 9.75 kB / 0.5858 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.4355, allocations: 2.219 kB / 0.5858 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.4356, allocations: 43.66 kB / 0.5859 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.4356, allocations: 0 / 0.5859 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.4356, allocations: 0.75 kB / 0.5859 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4356, allocations: 0.6875 kB / 0.5859 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.4357, allocations: 19.2 kB / 0.5859 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.436, allocations: 249.1 kB / 0.5861 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.4362, allocations: 50.64 kB / 0.5862 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.4362, allocations: 17.06 kB / 0.5862 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.4363, allocations: 5.828 kB / 0.5862 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.4363, allocations: 36.12 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.4363, allocations: 0.7188 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001698/0.4365, allocations: 62.98 kB / 0.5863 GB, free: 1.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.4365, allocations: 56.77 kB / 0.5864 GB, free: 1.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.4366, allocations: 104.1 kB / 0.5865 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.4366, allocations: 25.7 kB / 0.5865 GB, free: 1.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.4366, allocations: 81.97 kB / 0.5866 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.4366, allocations: 10.55 kB / 0.5866 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.4366, allocations: 4.938 kB / 0.5866 GB, free: 1.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.4367, allocations: 312.7 kB / 0.5869 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.4367, allocations: 5 kB / 0.5869 GB, free: 1.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.4367, allocations: 25.36 kB / 0.5869 GB, free: 1.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.4368, allocations: 14.56 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4368, allocations: 0 / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.836e-05/0.4369, allocations: 59.56 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4369, allocations: 5.469 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4369, allocations: 0.75 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4369, allocations: 1.031 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.437, allocations: 12.58 kB / 0.587 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.437, allocations: 0.9688 kB / 0.587 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.437, allocations: 13.02 kB / 0.587 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4371, allocations: 6.797 kB / 0.587 GB, free: 1.102 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.079e-05/0.4371, allocations: 108.2 kB / 0.5871 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.4371, allocations: 5.281 kB / 0.5871 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.4373, allocations: 61.89 kB / 0.5872 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4373, allocations: 1.062 kB / 0.5872 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4373, allocations: 0.5156 kB / 0.5872 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4373, allocations: 5 kB / 0.5872 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.4375, allocations: 162.7 kB / 0.5873 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4375, allocations: 1.312 kB / 0.5873 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.4375, allocations: 9.25 kB / 0.5873 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4375, allocations: 1.984 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4375, allocations: 0 / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4375, allocations: 1.312 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4375, allocations: 0.75 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.4376, allocations: 150.8 kB / 0.5875 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.4377, allocations: 78.89 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.4377, allocations: 0.9062 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.4377, allocations: 1.859 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.4378, allocations: 2.281 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4378, allocations: 6.156 kB / 0.5876 GB, free: 496 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.014e-05/0.4378, allocations: 85.7 kB / 0.5877 GB, free: 412 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4378, allocations: 0 / 0.5877 GB, free: 412 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.4381, allocations: 18.88 kB / 0.5877 GB, free: 408 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.0004146/0.4385, allocations: 0.7078 MB / 0.5884 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.4386, allocations: 22.16 kB / 0.5884 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4386, allocations: 3.938 kB / 0.5884 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.4387, allocations: 13.31 kB / 0.5884 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.4389, allocations: 2.672 kB / 0.5884 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.4394, allocations: 173.7 kB / 0.5886 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.4397, allocations: 0.6769 MB / 0.5892 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.854e-05/0.4397, allocations: 6.922 kB / 0.5892 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.4397, allocations: 10.77 kB / 0.5893 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4397, allocations: 4 kB / 0.5893 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.4518, allocations: 1.179 MB / 0.5904 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.452, allocations: 193.3 kB / 0.5906 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.138, allocations: 3.938 kB / 0.5906 GB, free: 14.46 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: