Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.007352/0.007352, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001749/0.001749, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7716/0.7716, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 67.17 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1451, allocations: 80.22 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002261/0.1474, allocations: 1.228 MB / 0.6604 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.1484, allocations: 0.606 MB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.1484, allocations: 0 / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1485, allocations: 0 / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.1485, allocations: 0 / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1491, allocations: 139.4 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.1492, allocations: 11.94 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1492, allocations: 4 kB / 0.6611 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.1492, allocations: 3.984 kB / 0.6611 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.1493, allocations: 11.92 kB / 0.6611 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.1493, allocations: 0 / 0.6611 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.1498, allocations: 339.3 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.1498, allocations: 7.984 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.1499, allocations: 0 / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1501, allocations: 143.1 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1501, allocations: 0 / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1502, allocations: 4 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1502, allocations: 0 / 0.6616 GB, free: 8.242 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004137/0.1506, allocations: 351.7 kB / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1506, allocations: 12.03 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.1507, allocations: 30.75 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.1507, allocations: 0.9375 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1508, allocations: 164.4 kB / 0.6622 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1508, allocations: 384 / 0.6622 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1509, allocations: 8.125 kB / 0.6622 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.151, allocations: 37.64 kB / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.151, allocations: 0 / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.151, allocations: 4 kB / 0.6622 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.151, allocations: 0 / 0.6622 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.151, allocations: 0 / 0.6622 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1512, allocations: 157.6 kB / 0.6623 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.1513, allocations: 18.61 kB / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.1513, allocations: 16.86 kB / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1513, allocations: 0 / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1513, allocations: 42.48 kB / 0.6624 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/0.1514, allocations: 4 kB / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.1515, allocations: 37.64 kB / 0.6625 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1515, allocations: 51.41 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.1516, allocations: 102 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1516, allocations: 29.64 kB / 0.6626 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1517, allocations: 80.14 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1517, allocations: 7.891 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.1518, allocations: 17.72 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1519, allocations: 310.8 kB / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1519, allocations: 4 kB / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.1519, allocations: 0 / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.152, allocations: 20.98 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.152, allocations: 0 / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.523e-05/0.152, allocations: 45.62 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1521, allocations: 5.719 kB / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1521, allocations: 0 / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1521, allocations: 0 / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1523, allocations: 11.98 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/0.1526, allocations: 0.586 MB / 0.6637 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1527, allocations: 0 / 0.6637 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1527, allocations: 11.97 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.1528, allocations: 106.7 kB / 0.6638 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.1528, allocations: 0 / 0.6638 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1529, allocations: 44.81 kB / 0.6638 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1529, allocations: 0 / 0.6638 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1529, allocations: 4.125 kB / 0.6639 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1529, allocations: 4 kB / 0.6639 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1531, allocations: 153.6 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1531, allocations: 0 / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.1531, allocations: 11.94 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1532, allocations: 0 / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1532, allocations: 11.98 kB / 0.664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00029/0.1535, allocations: 0.5898 MB / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1535, allocations: 4.094 kB / 0.6646 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.711e-05/0.1535, allocations: 61.16 kB / 0.6647 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1536, allocations: 81.09 kB / 0.6647 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1536, allocations: 11.88 kB / 0.6648 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.1536, allocations: 3.938 kB / 0.6648 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.1536, allocations: 0 / 0.6648 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1536, allocations: 0 / 0.6648 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.1537, allocations: 83.31 kB / 0.6648 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1537, allocations: 0 / 0.6648 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1539, allocations: 7.938 kB / 0.6648 GB, free: 4.555 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/0.1543, allocations: 0.6203 MB / 0.6654 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1545, allocations: 27.86 kB / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1545, allocations: 0 / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.1546, allocations: 15.98 kB / 0.6655 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1547, allocations: 6.234 kB / 0.6655 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.1552, allocations: 141 kB / 0.6656 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1555, allocations: 0.6769 MB / 0.6663 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.74e-05/0.1555, allocations: 0 / 0.6663 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1555, allocations: 7.438 kB / 0.6663 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1555, allocations: 0 / 0.6663 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1745, allocations: 1.377 MB / 0.6676 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.01, allocations: 10.72 kB / 0.6677 GB, free: 1.797 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)