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.004907/0.004907, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001305/0.001305, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001792, allocations: 67.77 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1358, allocations: 81.02 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002233/0.1381, allocations: 1.276 MB / 0.6661 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.1391, allocations: 0.6036 MB / 0.6667 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.1391, allocations: 0 / 0.6667 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1391, allocations: 0 / 0.6667 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.1392, allocations: 7.922 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.1398, allocations: 139.4 kB / 0.6668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.1398, allocations: 27.86 kB / 0.6669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.1399, allocations: 0 / 0.6669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.1399, allocations: 11.92 kB / 0.6669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.14, allocations: 11.98 kB / 0.6669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.14, allocations: 3.938 kB / 0.6669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.1406, allocations: 339.4 kB / 0.6672 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.1406, allocations: 4 kB / 0.6672 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1406, allocations: 15.91 kB / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1409, allocations: 143.8 kB / 0.6674 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1409, allocations: 4 kB / 0.6674 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1409, allocations: 0 / 0.6674 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1409, allocations: 0 / 0.6674 GB, free: 3.051 MB / 0.4981 GB 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.0004564/0.1414, allocations: 363.1 kB / 0.6677 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1414, allocations: 13.11 kB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.1415, allocations: 30.75 kB / 0.6678 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1415, allocations: 8.891 kB / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1416, allocations: 164.3 kB / 0.6679 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1416, allocations: 4.375 kB / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1417, allocations: 8.125 kB / 0.6679 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1418, allocations: 37.69 kB / 0.668 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1418, allocations: 3.938 kB / 0.668 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1418, allocations: 0 / 0.668 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1418, allocations: 8 kB / 0.668 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.1419, allocations: 15.98 kB / 0.668 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1423, allocations: 248.9 kB / 0.6682 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1425, allocations: 54.61 kB / 0.6683 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.1425, allocations: 16.86 kB / 0.6683 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1425, allocations: 0 / 0.6683 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1426, allocations: 38.55 kB / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1426, allocations: 0 / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.1428, allocations: 61.62 kB / 0.6684 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1429, allocations: 51.41 kB / 0.6684 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.1429, allocations: 101.8 kB / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.143, allocations: 25.7 kB / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1431, allocations: 80.14 kB / 0.6686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.1431, allocations: 23.81 kB / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1432, allocations: 21.72 kB / 0.6687 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.1434, allocations: 314.8 kB / 0.669 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.1434, allocations: 8 kB / 0.669 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.1434, allocations: 25.7 kB / 0.669 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1436, allocations: 25.66 kB / 0.669 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1436, allocations: 7.938 kB / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.021e-05/0.1437, allocations: 57.69 kB / 0.6691 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1437, allocations: 4 kB / 0.6691 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1437, allocations: 4 kB / 0.6691 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1437, allocations: 0 / 0.6691 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.837e-05/0.1438, allocations: 16.05 kB / 0.6691 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1438, allocations: 0 / 0.6691 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.1438, allocations: 7.953 kB / 0.6691 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1438, allocations: 4 kB / 0.6691 GB, free: 0.9922 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 8.05e-05/0.1439, allocations: 117.8 kB / 0.6693 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1439, allocations: 0 / 0.6693 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.1441, allocations: 61.17 kB / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1441, allocations: 0 / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1441, allocations: 0 / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1441, allocations: 4 kB / 0.6693 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1443, allocations: 161.5 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1443, allocations: 0 / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1443, allocations: 7.938 kB / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1443, allocations: 4 kB / 0.6695 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1443, allocations: 4.469 kB / 0.6695 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1443, allocations: 0 / 0.6695 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1443, allocations: 0 / 0.6695 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1445, allocations: 155.5 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1445, allocations: 85.05 kB / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1446, allocations: 0 / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.1446, allocations: 4 kB / 0.6697 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.1446, allocations: 4 kB / 0.6697 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1447, allocations: 4 kB / 0.6697 GB, free: 292 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.1447, allocations: 79.28 kB / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1447, allocations: 0 / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002373/0.1449, allocations: 23.86 kB / 0.6698 GB, free: 188 kB / 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.0005816/0.1455, allocations: 0.7006 MB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.1456, allocations: 31.92 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1456, allocations: 0 / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.1457, allocations: 8 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1459, allocations: 6.031 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.1463, allocations: 152.1 kB / 0.6707 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1467, allocations: 0.6768 MB / 0.6714 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.1468, allocations: 12.03 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1469, allocations: 19.38 kB / 0.6714 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1469, allocations: 0 / 0.6714 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3615/0.5084, allocations: 1.377 MB / 0.6727 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.995/10.5, allocations: 24.39 kB / 0.6728 GB, free: 13.2 MB / 0.5137 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)