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.0009593/0.0009593, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.62 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002567/0.3445, allocations: 1.279 MB / 0.5814 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.3454, allocations: 0.6014 MB / 0.582 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.3455, allocations: 0 / 0.582 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.3456, allocations: 4.453 kB / 0.582 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.3456, allocations: 10.03 kB / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.3463, allocations: 151.7 kB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.3464, allocations: 23.84 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3465, allocations: 3 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.3465, allocations: 4.875 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.3465, allocations: 10.83 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3466, allocations: 0.875 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.3471, allocations: 342.3 kB / 0.5826 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.3472, allocations: 10.09 kB / 0.5826 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.3472, allocations: 7.453 kB / 0.5826 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.3475, allocations: 152.7 kB / 0.5827 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3476, allocations: 1.609 kB / 0.5827 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3476, allocations: 0 / 0.5827 GB, free: 2.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3476, allocations: 0 / 0.5827 GB, free: 2.992 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.0003815/0.348, allocations: 358.4 kB / 0.5831 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.348, allocations: 9.344 kB / 0.5831 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.348, allocations: 35.34 kB / 0.5831 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.3481, allocations: 7.766 kB / 0.5831 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.3482, allocations: 170.1 kB / 0.5833 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3482, allocations: 1.344 kB / 0.5833 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3482, allocations: 2.125 kB / 0.5833 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.776e-05/0.3483, allocations: 43.91 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3483, allocations: 1.484 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.3483, allocations: 0 / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3483, allocations: 1.562 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.3484, allocations: 16.25 kB / 0.5833 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.3487, allocations: 256.1 kB / 0.5836 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3489, allocations: 46.75 kB / 0.5836 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.3489, allocations: 18.25 kB / 0.5836 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3489, allocations: 1.375 kB / 0.5836 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/0.3489, allocations: 35.11 kB / 0.5837 GB, free: 1.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3489, allocations: 4 kB / 0.5837 GB, free: 1.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001693/0.3491, allocations: 64.94 kB / 0.5837 GB, free: 1.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.3491, allocations: 52.06 kB / 0.5838 GB, free: 1.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.3492, allocations: 103.1 kB / 0.5839 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.3492, allocations: 27.67 kB / 0.5839 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.3492, allocations: 80.14 kB / 0.584 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.3493, allocations: 15.92 kB / 0.584 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3493, allocations: 15.17 kB / 0.584 GB, free: 1.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.3493, allocations: 323.6 kB / 0.5843 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.3494, allocations: 6.891 kB / 0.5843 GB, free: 1.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.3494, allocations: 20.61 kB / 0.5844 GB, free: 1.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.3495, allocations: 30.48 kB / 0.5844 GB, free: 1.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3495, allocations: 4 kB / 0.5844 GB, free: 1.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.251e-05/0.3495, allocations: 56.03 kB / 0.5844 GB, free: 1.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3496, allocations: 6.578 kB / 0.5844 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3496, allocations: 4.031 kB / 0.5845 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3496, allocations: 0.9062 kB / 0.5845 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.3496, allocations: 12.86 kB / 0.5845 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3497, allocations: 1 kB / 0.5845 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.3497, allocations: 13.55 kB / 0.5845 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3497, allocations: 2.062 kB / 0.5845 GB, free: 1.168 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 4.224e-05/0.3497, allocations: 117.6 kB / 0.5846 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.3498, allocations: 0.9688 kB / 0.5846 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.3499, allocations: 62.33 kB / 0.5847 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3499, allocations: 1.75 kB / 0.5847 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3499, allocations: 0 / 0.5847 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3499, allocations: 1.891 kB / 0.5847 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.35, allocations: 161.8 kB / 0.5848 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3501, allocations: 0.6094 kB / 0.5848 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.3501, allocations: 5.984 kB / 0.5848 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3501, allocations: 1.094 kB / 0.5848 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3501, allocations: 1.516 kB / 0.5848 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3501, allocations: 1.094 kB / 0.5848 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3501, allocations: 4 kB / 0.5848 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.3502, allocations: 147.7 kB / 0.585 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.3502, allocations: 82.86 kB / 0.585 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3503, allocations: 5.062 kB / 0.5851 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.3503, allocations: 0.9375 kB / 0.5851 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.3503, allocations: 2.453 kB / 0.5851 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3503, allocations: 5.438 kB / 0.5851 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.866e-05/0.3504, allocations: 83.06 kB / 0.5851 GB, free: 480 kB / 430.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.3504, allocations: 3.938 kB / 0.5851 GB, free: 476 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3506, allocations: 22.56 kB / 0.5852 GB, free: 468 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.000353/0.351, allocations: 0.7037 MB / 0.5859 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.832e-05/0.3511, allocations: 31.66 kB / 0.5859 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3511, allocations: 0 / 0.5859 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.3511, allocations: 12.72 kB / 0.5859 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.3514, allocations: 1.938 kB / 0.5859 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.3518, allocations: 157.1 kB / 0.586 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.352, allocations: 0.6769 MB / 0.5867 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.352, allocations: 7.391 kB / 0.5867 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3521, allocations: 14.55 kB / 0.5867 GB, free: 14.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3521, allocations: 0 / 0.5867 GB, free: 14.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.3775, allocations: 1.351 MB / 0.588 GB, free: 14.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.646, allocations: 4.266 kB / 0.5881 GB, free: 14.56 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)