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.005097/0.005097, allocations: 101 kB / 15.73 MB, free: 6.059 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.001274/0.001275, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8015/0.8015, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 68.3 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1467, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002239/0.149, allocations: 1.27 MB / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1501, allocations: 0.6021 MB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1501, allocations: 0 / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.1501, allocations: 3.938 kB / 0.661 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.1502, allocations: 0 / 0.661 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.1507, allocations: 154.5 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.1508, allocations: 23.86 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.1508, allocations: 0 / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.1508, allocations: 15.92 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.1509, allocations: 4 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1509, allocations: 0 / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005587/0.1515, allocations: 343.3 kB / 0.6615 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.1515, allocations: 11.94 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.1515, allocations: 7.984 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.1518, allocations: 149.2 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.1518, allocations: 0 / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1518, allocations: 3.938 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1518, allocations: 0 / 0.6617 GB, free: 11.37 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.0004721/0.1523, allocations: 367 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1523, allocations: 8.031 kB / 0.6621 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1524, allocations: 34.75 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.1524, allocations: 0.9375 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1526, allocations: 164.3 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1526, allocations: 12.38 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1526, allocations: 4.125 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1527, allocations: 45.62 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1527, allocations: 0 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1527, allocations: 0 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1527, allocations: 0 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.046e-05/0.1528, allocations: 19.92 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.1531, allocations: 248.9 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1533, allocations: 50.69 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.1534, allocations: 16.86 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1534, allocations: 0 / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1534, allocations: 38.55 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1535, allocations: 0 / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001736/0.1536, allocations: 61.58 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1537, allocations: 55.41 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.1538, allocations: 102 kB / 0.6629 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1538, allocations: 29.7 kB / 0.6629 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.1538, allocations: 80.14 kB / 0.663 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.1539, allocations: 15.83 kB / 0.663 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1539, allocations: 17.72 kB / 0.663 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1541, allocations: 318.8 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.1541, allocations: 11.98 kB / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.1541, allocations: 21.72 kB / 0.6634 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/0.1542, allocations: 29.66 kB / 0.6634 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1542, allocations: 0 / 0.6634 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.1543, allocations: 57.75 kB / 0.6634 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1543, allocations: 10.03 kB / 0.6634 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1543, allocations: 4 kB / 0.6635 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1543, allocations: 0 / 0.6635 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1544, allocations: 11.98 kB / 0.6635 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1544, allocations: 8.016 kB / 0.6635 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.1545, allocations: 7.953 kB / 0.6635 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1545, allocations: 0 / 0.6635 GB, free: 9.312 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.578e-05/0.1546, allocations: 114.4 kB / 0.6636 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1546, allocations: 4 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.1547, allocations: 69.05 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1547, allocations: 0 / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1548, allocations: 4 kB / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1548, allocations: 0 / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1549, allocations: 157.6 kB / 0.6638 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1549, allocations: 0 / 0.6638 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.155, allocations: 8 kB / 0.6638 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.155, allocations: 0 / 0.6638 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.155, allocations: 0 / 0.6638 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.155, allocations: 3.938 kB / 0.6638 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.155, allocations: 0 / 0.6638 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1552, allocations: 159.4 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1552, allocations: 85.09 kB / 0.6641 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1552, allocations: 0 / 0.6641 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.1553, allocations: 3.938 kB / 0.6641 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.1553, allocations: 4 kB / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1553, allocations: 4 kB / 0.6641 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.1554, allocations: 75.28 kB / 0.6641 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 0.6641 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1556, allocations: 27.86 kB / 0.6642 GB, free: 8.5 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.0005131/0.1562, allocations: 0.7011 MB / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1563, allocations: 27.97 kB / 0.6649 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1563, allocations: 0 / 0.6649 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.1563, allocations: 12.08 kB / 0.6649 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.1565, allocations: 4 kB / 0.6649 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.157, allocations: 168.1 kB / 0.6651 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1573, allocations: 0.6768 MB / 0.6657 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.1573, allocations: 4.25 kB / 0.6657 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1574, allocations: 11.44 kB / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1574, allocations: 0 / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2916/0.449, allocations: 1.389 MB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.757, allocations: 0.6562 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB (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)