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.00149/0.00149, allocations: 108 kB / 15.61 MB, free: 152 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.001708/0.001708, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9086/0.9086, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 56.75 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 80.94 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002304/0.1359, allocations: 1.273 MB / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1369, allocations: 0.5931 MB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.1369, allocations: 0 / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1369, allocations: 0 / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.137, allocations: 7.922 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.1375, allocations: 151.4 kB / 0.5865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.1376, allocations: 15.94 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.1376, allocations: 3.984 kB / 0.5865 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1376, allocations: 4 kB / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.1377, allocations: 15.94 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1377, allocations: 0 / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.1382, allocations: 343.3 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1382, allocations: 7.984 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1383, allocations: 11.94 kB / 0.5868 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1385, allocations: 147.9 kB / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1385, allocations: 0 / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1385, allocations: 0 / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1385, allocations: 0 / 0.587 GB, free: 1.871 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.0003796/0.1389, allocations: 367.3 kB / 0.5873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.139, allocations: 8.031 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.139, allocations: 38.75 kB / 0.5874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.139, allocations: 0.9375 kB / 0.5874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1391, allocations: 168.4 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.1392, allocations: 4.375 kB / 0.5875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.1392, allocations: 384 / 0.5875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.155e-05/0.1393, allocations: 41.64 kB / 0.5876 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1393, allocations: 3.984 kB / 0.5876 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1393, allocations: 0 / 0.5876 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1393, allocations: 7.875 kB / 0.5876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.1393, allocations: 12 kB / 0.5876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.1396, allocations: 256.9 kB / 0.5879 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1398, allocations: 46.62 kB / 0.5879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.1399, allocations: 20.84 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1399, allocations: 0 / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1399, allocations: 42.44 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1399, allocations: 0 / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001581/0.1401, allocations: 61.59 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1401, allocations: 51.41 kB / 0.5881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.1402, allocations: 102 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1402, allocations: 29.7 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.1403, allocations: 80.14 kB / 0.5883 GB, free: 356 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1403, allocations: 15.75 kB / 0.5883 GB, free: 340 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1403, allocations: 13.72 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1404, allocations: 326.8 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.1404, allocations: 8 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.1405, allocations: 21.66 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.1405, allocations: 37.88 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1405, allocations: 0 / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.84e-05/0.1406, allocations: 57.62 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1407, allocations: 4 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1407, allocations: 0 / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1407, allocations: 4.031 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.1407, allocations: 8 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1407, allocations: 0 / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.1408, allocations: 4 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1408, allocations: 4 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB 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.907e-05/0.1409, allocations: 109.8 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1409, allocations: 11.89 kB / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.141, allocations: 61.12 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.141, allocations: 4 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.141, allocations: 0 / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.141, allocations: 0 / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.1412, allocations: 157.6 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1412, allocations: 0 / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.1412, allocations: 8 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1412, allocations: 3.984 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1413, allocations: 0 / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1413, allocations: 0 / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1413, allocations: 0 / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1414, allocations: 155.4 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1414, allocations: 100.8 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1414, allocations: 128 / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.1415, allocations: 4 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.1415, allocations: 0 / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1415, allocations: 4 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.1416, allocations: 79.27 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1416, allocations: 0 / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002437/0.1418, allocations: 28 kB / 0.5894 GB, free: 15 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.0003869/0.1422, allocations: 0.6929 MB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.398e-05/0.1423, allocations: 28.25 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1423, allocations: 0 / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.1424, allocations: 16.08 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1426, allocations: 8.156 kB / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.143, allocations: 167 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.1432, allocations: 0.6768 MB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.1432, allocations: 7.984 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.1433, allocations: 15.44 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1433, allocations: 0 / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/0.5072, allocations: 1.354 MB / 0.5923 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/9.962, allocations: 5.703 kB / 0.5923 GB, free: 12.06 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)