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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008189/0.008189, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8825/0.8825, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 98.41 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4008, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5642, allocations: 111.8 MB / 0.7587 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5645, allocations: 79.94 kB / 0.7588 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007478/0.572, allocations: 2.316 MB / 0.761 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.027e-06/0.5721, allocations: 0 / 0.761 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5721, allocations: 3.938 kB / 0.761 GB, free: 1.789 MB / 0.5261 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.0003556/0.5725, allocations: 339.4 kB / 0.7613 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5725, allocations: 12.03 kB / 0.7614 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.5726, allocations: 30.56 kB / 0.7614 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.5726, allocations: 3.906 kB / 0.7614 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.5727, allocations: 175 kB / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.5727, allocations: 0 / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.5727, allocations: 4 kB / 0.7616 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.5728, allocations: 29.7 kB / 0.7616 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5729, allocations: 0 / 0.7616 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5729, allocations: 4 kB / 0.7616 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5729, allocations: 3.938 kB / 0.7616 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.5729, allocations: 0 / 0.7616 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.5731, allocations: 161.6 kB / 0.7617 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.5732, allocations: 18.61 kB / 0.7618 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.5732, allocations: 8.047 kB / 0.7618 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5732, allocations: 30.56 kB / 0.7618 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5732, allocations: 0 / 0.7618 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001469/0.5734, allocations: 45.62 kB / 0.7618 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5734, allocations: 51.53 kB / 0.7619 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.5735, allocations: 93 kB / 0.762 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5735, allocations: 25.7 kB / 0.762 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.5736, allocations: 84.14 kB / 0.7621 GB, free: 500 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.5736, allocations: 3.906 kB / 0.7621 GB, free: 496 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.5736, allocations: 4 kB / 0.7621 GB, free: 492 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5738, allocations: 314.8 kB / 0.7624 GB, free: 168 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.5738, allocations: 3.938 kB / 0.7624 GB, free: 164 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.5738, allocations: 8.125 kB / 0.7624 GB, free: 156 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.5738, allocations: 7.953 kB / 0.7624 GB, free: 148 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5738, allocations: 0 / 0.7624 GB, free: 148 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.042e-05/0.5739, allocations: 41.64 kB / 0.7625 GB, free: 100 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5739, allocations: 4 kB / 0.7625 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5739, allocations: 3.984 kB / 0.7625 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.574, allocations: 0 / 0.7625 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.5741, allocations: 11.98 kB / 0.7625 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004204/0.5746, allocations: 0.5822 MB / 0.763 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.5746, allocations: 3.953 kB / 0.763 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.5746, allocations: 4.031 kB / 0.763 GB, free: 15.46 MB / 0.5417 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/0.5747, allocations: 113.8 kB / 0.7632 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.5747, allocations: 0 / 0.7632 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.5749, allocations: 52.61 kB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5749, allocations: 4.125 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5749, allocations: 3.984 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5749, allocations: 4 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.575, allocations: 149.6 kB / 0.7634 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.575, allocations: 0 / 0.7634 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.5751, allocations: 11.98 kB / 0.7634 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5751, allocations: 0 / 0.7634 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.5751, allocations: 4 kB / 0.7634 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003336/0.5755, allocations: 0.5937 MB / 0.764 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5755, allocations: 0 / 0.764 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.759e-05/0.5756, allocations: 61.16 kB / 0.764 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.5756, allocations: 77.11 kB / 0.7641 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.5757, allocations: 4 kB / 0.7641 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.5757, allocations: 0 / 0.7641 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.5757, allocations: 3.953 kB / 0.7641 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.5757, allocations: 4.125 kB / 0.7641 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.5757, allocations: 83.27 kB / 0.7642 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5757, allocations: 0 / 0.7642 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002093/0.576, allocations: 12 kB / 0.7642 GB, free: 14.17 MB / 0.5417 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000463/0.5764, allocations: 0.6185 MB / 0.7648 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.5766, allocations: 15.98 kB / 0.7648 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5766, allocations: 0 / 0.7648 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.5767, allocations: 11.98 kB / 0.7648 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.5768, allocations: 3.953 kB / 0.7648 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.5773, allocations: 150 kB / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.5776, allocations: 0.677 MB / 0.7656 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.5776, allocations: 0 / 0.7656 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.5776, allocations: 7.438 kB / 0.7656 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5776, allocations: 0 / 0.7656 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.5938, allocations: 1.136 MB / 0.7667 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/0.5942, allocations: 239.3 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.117, allocations: 3.938 kB / 0.767 GB, free: 11.45 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)