Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_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.001134/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001887/0.001887, allocations: 195.4 kB / 16.25 MB, free: 6.625 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.901/1.901, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.338/1.338, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 64.86 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.214, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003927/0.218, allocations: 1.337 MB / 0.5853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2194, allocations: 0.601 MB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.2195, allocations: 0 / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.2196, allocations: 3.984 kB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.2197, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.2204, allocations: 129 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.2205, allocations: 27.86 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.2205, allocations: 0 / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.2206, allocations: 4 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.2206, allocations: 11.92 kB / 0.5861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2207, allocations: 4 kB / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.2212, allocations: 343.3 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2213, allocations: 8 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.2213, allocations: 11.92 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.2216, allocations: 140 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2216, allocations: 3.938 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2216, allocations: 4 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2216, allocations: 0 / 0.5865 GB, free: 2.152 MB / 494.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.0004743/0.2221, allocations: 363.3 kB / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.2222, allocations: 8.031 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.2222, allocations: 34.75 kB / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.2223, allocations: 0.9375 kB / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2224, allocations: 160.4 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2225, allocations: 8.375 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.2225, allocations: 4.375 kB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.2227, allocations: 45.62 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2227, allocations: 3.984 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2227, allocations: 0 / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2227, allocations: 0 / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.2228, allocations: 19.92 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.2233, allocations: 248.9 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.2236, allocations: 50.69 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.2237, allocations: 20.8 kB / 0.5875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.2237, allocations: 3.984 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2238, allocations: 34.56 kB / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.2238, allocations: 0 / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002568/0.224, allocations: 61.53 kB / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2241, allocations: 51.41 kB / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.2242, allocations: 101.9 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2243, allocations: 29.64 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.2243, allocations: 84.14 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2244, allocations: 15.73 kB / 0.5878 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.2244, allocations: 17.72 kB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2246, allocations: 314.8 kB / 0.5882 GB, free: 288 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.2246, allocations: 15.98 kB / 0.5882 GB, free: 272 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.2247, allocations: 25.72 kB / 0.5882 GB, free: 240 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.2248, allocations: 29.66 kB / 0.5882 GB, free: 204 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2248, allocations: 0 / 0.5882 GB, free: 204 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.225, allocations: 57.62 kB / 0.5883 GB, free: 140 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2251, allocations: 8 kB / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2251, allocations: 0 / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2251, allocations: 0 / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.2252, allocations: 11.98 kB / 0.5883 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2252, allocations: 0 / 0.5883 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.2252, allocations: 4.031 kB / 0.5883 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2253, allocations: 4 kB / 0.5883 GB, free: 112 kB / 494.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 0.0001117/0.2254, allocations: 113.8 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.2254, allocations: 7.906 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2256, allocations: 65.53 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2256, allocations: 0 / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2256, allocations: 0 / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2256, allocations: 8.031 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2258, allocations: 157.6 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2258, allocations: 0 / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.2258, allocations: 8 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2258, allocations: 0 / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2259, allocations: 0 / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2259, allocations: 0 / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2259, allocations: 3.938 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.226, allocations: 147.5 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2261, allocations: 96.94 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.2261, allocations: 3.938 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.2261, allocations: 0 / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.2262, allocations: 4 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2262, allocations: 4 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.2262, allocations: 75.28 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2262, allocations: 0 / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002703/0.2265, allocations: 23.98 kB / 0.589 GB, free: 15.3 MB / 0.4981 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 () * 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.0004691/0.227, allocations: 0.7007 MB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.2271, allocations: 31.86 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2271, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.2271, allocations: 8 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.2274, allocations: 8 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.228, allocations: 179 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2284, allocations: 0.6768 MB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.2285, allocations: 4 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.2285, allocations: 11.44 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.2285, allocations: 0 / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2461, allocations: 1.283 MB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/0.2465, allocations: 214.5 kB / 0.592 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/2.796, allocations: 0 / 0.592 GB, free: 12.22 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)