Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.007076/0.007076, allocations: 102 kB / 15.73 MB, free: 6.051 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.001537/0.001537, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7893/0.7893, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.77 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 80.92 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003264/0.158, allocations: 1.25 MB / 0.6654 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1593, allocations: 0.5842 MB / 0.6659 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.1594, allocations: 0 / 0.6659 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.1594, allocations: 0 / 0.6659 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.1596, allocations: 7.922 kB / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.1604, allocations: 135.5 kB / 0.6661 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.1605, allocations: 15.92 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.1605, allocations: 0 / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.1606, allocations: 4 kB / 0.6661 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.1606, allocations: 7.938 kB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1606, allocations: 3.938 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.1613, allocations: 347.3 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1613, allocations: 0 / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.1614, allocations: 3.938 kB / 0.6664 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1617, allocations: 143.1 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1618, allocations: 0 / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.1618, allocations: 4 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.1618, allocations: 0 / 0.6666 GB, free: 3.809 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.000564/0.1623, allocations: 351.7 kB / 0.6669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1624, allocations: 13.11 kB / 0.6669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.1625, allocations: 34.75 kB / 0.667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1625, allocations: 0.9375 kB / 0.667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1627, allocations: 160.4 kB / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1627, allocations: 4.375 kB / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1628, allocations: 4.125 kB / 0.6671 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1629, allocations: 45.56 kB / 0.6672 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1629, allocations: 0 / 0.6672 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1629, allocations: 0 / 0.6672 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1629, allocations: 3.984 kB / 0.6672 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.163, allocations: 4 kB / 0.6672 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.1633, allocations: 145.7 kB / 0.6673 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.1633, allocations: 30.59 kB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.1634, allocations: 12.8 kB / 0.6674 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1634, allocations: 8 kB / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1635, allocations: 30.56 kB / 0.6674 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1635, allocations: 0 / 0.6674 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.1637, allocations: 45.59 kB / 0.6674 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1637, allocations: 51.41 kB / 0.6675 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.1638, allocations: 93.98 kB / 0.6676 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1638, allocations: 29.83 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1639, allocations: 80.14 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1639, allocations: 8 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.164, allocations: 9.719 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1641, allocations: 314.8 kB / 0.668 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.1641, allocations: 4 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.1641, allocations: 7.938 kB / 0.668 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.1642, allocations: 16.92 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1642, allocations: 0 / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.283e-05/0.1643, allocations: 45.55 kB / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1643, allocations: 4 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1643, allocations: 0 / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1643, allocations: 7.922 kB / 0.6681 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1645, allocations: 8 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/0.165, allocations: 0.586 MB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.165, allocations: 8.031 kB / 0.6687 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.165, allocations: 3.938 kB / 0.6687 GB, free: 1.414 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 9.694e-05/0.1651, allocations: 111.2 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.1652, allocations: 0 / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1653, allocations: 44.83 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1653, allocations: 3.984 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1653, allocations: 4.125 kB / 0.6688 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1653, allocations: 3.938 kB / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.1655, allocations: 157.6 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1655, allocations: 0 / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.1656, allocations: 11.98 kB / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1656, allocations: 0 / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1656, allocations: 0 / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003422/0.1659, allocations: 0.586 MB / 0.6696 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.166, allocations: 4.094 kB / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.922e-05/0.166, allocations: 69 kB / 0.6696 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.1661, allocations: 81.11 kB / 0.6697 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1661, allocations: 3.938 kB / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.1661, allocations: 0 / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.1661, allocations: 0 / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1661, allocations: 4 kB / 0.6697 GB, free: 216 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.1662, allocations: 87.3 kB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1662, allocations: 0 / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002193/0.1664, allocations: 11.94 kB / 0.6698 GB, free: 116 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 (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.0005124/0.1669, allocations: 0.6067 MB / 0.6704 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.1671, allocations: 27.92 kB / 0.6704 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1671, allocations: 0 / 0.6704 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.1672, allocations: 15.98 kB / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1674, allocations: 0 / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.1679, allocations: 131.7 kB / 0.6706 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1682, allocations: 0.6885 MB / 0.6712 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.1682, allocations: 0 / 0.6712 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.1683, allocations: 7.438 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.1683, allocations: 7.875 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.1881, allocations: 1.358 MB / 0.6726 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.26, allocations: 18.31 kB / 0.6726 GB, free: 13.35 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)