Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_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_dev_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.005851/0.005851, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.001431/0.001431, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8507/0.8507, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002667, allocations: 67.03 kB / 0.5857 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1475, allocations: 81.03 MB / 0.6649 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002325/0.1499, allocations: 1.238 MB / 0.6661 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1509, allocations: 0.5957 MB / 0.6667 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.151, allocations: 0 / 0.6667 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.151, allocations: 0 / 0.6667 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.1511, allocations: 3.984 kB / 0.6667 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.1516, allocations: 138.5 kB / 0.6668 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.1517, allocations: 15.92 kB / 0.6668 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.1517, allocations: 4 kB / 0.6668 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1518, allocations: 0 / 0.6668 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.1518, allocations: 11.98 kB / 0.6668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1518, allocations: 0 / 0.6668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.1524, allocations: 347.3 kB / 0.6671 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.1524, allocations: 3.938 kB / 0.6672 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.1524, allocations: 0 / 0.6672 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1527, allocations: 147.8 kB / 0.6673 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1528, allocations: 3.984 kB / 0.6673 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1528, allocations: 0 / 0.6673 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1528, allocations: 0 / 0.6673 GB, free: 3.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.0004214/0.1532, allocations: 355.1 kB / 0.6676 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1532, allocations: 13.11 kB / 0.6676 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1533, allocations: 30.75 kB / 0.6677 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.1533, allocations: 0.9375 kB / 0.6677 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1534, allocations: 164.3 kB / 0.6678 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1535, allocations: 4.375 kB / 0.6678 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1535, allocations: 4.125 kB / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.426e-05/0.1536, allocations: 33.69 kB / 0.6679 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1536, allocations: 4 kB / 0.6679 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1536, allocations: 0 / 0.6679 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1536, allocations: 3.938 kB / 0.6679 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.715e-05/0.1536, allocations: 8 kB / 0.6679 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.1538, allocations: 145.7 kB / 0.668 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.1539, allocations: 26.61 kB / 0.6681 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1539, allocations: 8.797 kB / 0.6681 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1539, allocations: 4 kB / 0.6681 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.154, allocations: 34.62 kB / 0.6681 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.154, allocations: 0 / 0.6681 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.1541, allocations: 45.62 kB / 0.6681 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1542, allocations: 51.41 kB / 0.6682 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.1542, allocations: 93.86 kB / 0.6683 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1543, allocations: 29.64 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1544, allocations: 88.39 kB / 0.6684 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1544, allocations: 3.953 kB / 0.6684 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1544, allocations: 13.72 kB / 0.6684 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1546, allocations: 314.8 kB / 0.6687 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.1546, allocations: 8 kB / 0.6687 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.1546, allocations: 0 / 0.6687 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.1547, allocations: 16.8 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1547, allocations: 0 / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.929e-05/0.1547, allocations: 49.69 kB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1548, allocations: 4 kB / 0.6688 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1548, allocations: 0 / 0.6688 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1548, allocations: 0 / 0.6688 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1549, allocations: 12 kB / 0.6688 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000408/0.1553, allocations: 0.5859 MB / 0.6694 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.1554, allocations: 8.016 kB / 0.6694 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1554, allocations: 8.062 kB / 0.6694 GB, free: 0.8477 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 0.0001022/0.1555, allocations: 105.8 kB / 0.6695 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1555, allocations: 3.953 kB / 0.6695 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1556, allocations: 48.81 kB / 0.6695 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1556, allocations: 4 kB / 0.6695 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1557, allocations: 0 / 0.6695 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1557, allocations: 0 / 0.6695 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1558, allocations: 149.7 kB / 0.6697 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1558, allocations: 4 kB / 0.6697 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.1559, allocations: 11.98 kB / 0.6697 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1559, allocations: 0 / 0.6697 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1559, allocations: 0 / 0.6697 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003779/0.1563, allocations: 0.5898 MB / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1563, allocations: 0 / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.402e-05/0.1564, allocations: 65.25 kB / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1564, allocations: 85.09 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1565, allocations: 7.938 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.1565, allocations: 0 / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1565, allocations: 3.984 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1565, allocations: 0 / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.1566, allocations: 87.16 kB / 0.6705 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 4.125 kB / 0.6705 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001943/0.1568, allocations: 11.94 kB / 0.6705 GB, free: 15.55 MB / 0.5137 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.0004513/0.1572, allocations: 0.6097 MB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1574, allocations: 19.98 kB / 0.6711 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1574, allocations: 4.094 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.1575, allocations: 19.92 kB / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1577, allocations: 0 / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.1581, allocations: 135.6 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1584, allocations: 0.6729 MB / 0.672 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.1585, allocations: 8.062 kB / 0.672 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1585, allocations: 7.438 kB / 0.672 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.1585, allocations: 0 / 0.672 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.1822, allocations: 1.383 MB / 0.6733 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.77, allocations: 14.23 kB / 0.6733 GB, free: 12.77 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)