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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.007875/0.007875, allocations: 170.3 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8688/0.8688, allocations: 135.2 MB / 151 MB, free: 13.82 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.67/1.67, allocations: 223.2 MB / 406.8 MB, free: 3.168 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.001021/0.001021, allocations: 94.88 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.439, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5934, allocations: 111.8 MB / 0.7587 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.5937, allocations: 79.94 kB / 0.7587 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00723/0.6009, allocations: 2.312 MB / 0.761 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6009, allocations: 3.938 kB / 0.761 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.601, allocations: 4 kB / 0.761 GB, free: 1.844 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.0003754/0.6013, allocations: 340.2 kB / 0.7613 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6014, allocations: 12.03 kB / 0.7613 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.6014, allocations: 30.56 kB / 0.7614 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.6015, allocations: 3.906 kB / 0.7614 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6016, allocations: 171 kB / 0.7615 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6016, allocations: 4 kB / 0.7615 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.6017, allocations: 0 / 0.7615 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.6018, allocations: 45.62 kB / 0.7616 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.6018, allocations: 0 / 0.7616 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.6018, allocations: 0 / 0.7616 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6018, allocations: 0 / 0.7616 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.6018, allocations: 7.938 kB / 0.7616 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.602, allocations: 153.6 kB / 0.7617 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.6021, allocations: 22.61 kB / 0.7618 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.6021, allocations: 0 / 0.7618 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.6021, allocations: 34.56 kB / 0.7618 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.6021, allocations: 0 / 0.7618 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.6023, allocations: 45.69 kB / 0.7618 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.6023, allocations: 55.41 kB / 0.7619 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.6024, allocations: 85 kB / 0.762 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.6024, allocations: 25.7 kB / 0.762 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.6025, allocations: 84.39 kB / 0.7621 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.6025, allocations: 11.91 kB / 0.7621 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.6025, allocations: 0 / 0.7621 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6026, allocations: 314.8 kB / 0.7624 GB, free: 220 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.6026, allocations: 0 / 0.7624 GB, free: 220 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.6026, allocations: 7.984 kB / 0.7624 GB, free: 212 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/0.6027, allocations: 11.95 kB / 0.7624 GB, free: 200 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6027, allocations: 0 / 0.7624 GB, free: 200 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.076e-05/0.6028, allocations: 37.64 kB / 0.7624 GB, free: 156 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6028, allocations: 8.094 kB / 0.7625 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6028, allocations: 0 / 0.7625 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6028, allocations: 0 / 0.7625 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.603, allocations: 11.98 kB / 0.7625 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004165/0.6034, allocations: 0.5782 MB / 0.763 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.6034, allocations: 3.953 kB / 0.763 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.6035, allocations: 4.031 kB / 0.763 GB, free: 15.52 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.16e-05/0.6035, allocations: 117.9 kB / 0.7632 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.6036, allocations: 0 / 0.7632 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.6037, allocations: 48.72 kB / 0.7632 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6037, allocations: 4 kB / 0.7632 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6037, allocations: 0 / 0.7632 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6037, allocations: 0 / 0.7632 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.6038, allocations: 153.6 kB / 0.7633 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6039, allocations: 8 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.6039, allocations: 12.02 kB / 0.7634 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6039, allocations: 4 kB / 0.7634 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.604, allocations: 4 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003437/0.6043, allocations: 0.5898 MB / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6043, allocations: 0 / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.6044, allocations: 65.25 kB / 0.764 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.6045, allocations: 81.11 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.6045, allocations: 0 / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.6045, allocations: 3.938 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.6045, allocations: 3.953 kB / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.6045, allocations: 0 / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.6046, allocations: 79.28 kB / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6046, allocations: 0 / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002135/0.6048, allocations: 15.98 kB / 0.7642 GB, free: 14.22 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.000454/0.6053, allocations: 0.6163 MB / 0.7648 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.6054, allocations: 15.98 kB / 0.7648 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6054, allocations: 0 / 0.7648 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.6055, allocations: 20.02 kB / 0.7648 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.6057, allocations: 15.89 kB / 0.7648 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.6061, allocations: 138.1 kB / 0.765 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6064, allocations: 0.677 MB / 0.7656 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.6064, allocations: 0 / 0.7656 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.6065, allocations: 11.5 kB / 0.7656 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6065, allocations: 4 kB / 0.7656 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.6243, allocations: 1.122 MB / 0.7667 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003714/0.6247, allocations: 234.5 kB / 0.767 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.164, allocations: 3.5 kB / 0.767 GB, free: 11.49 MB / 0.5417 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/linux/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)