Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_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.001316/0.001316, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4822/0.4822, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 348.3 MB, free: 480 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 95.45 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.285e-05, allocations: 0 / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.5421, allocations: 101.9 MB / 0.6598 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5424, allocations: 77.17 kB / 0.6599 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007028/0.5494, allocations: 2.311 MB / 0.6622 GB, free: 16 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5495, allocations: 4 kB / 0.6622 GB, free: 12 kB / 474.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.5495, allocations: 0 / 0.6622 GB, free: 12 kB / 474.7 MB 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.0003519/0.5498, allocations: 330.5 kB / 0.6625 GB, free: 15.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.5499, allocations: 11.98 kB / 0.6625 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.55, allocations: 42.5 kB / 0.6625 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.55, allocations: 7.906 kB / 0.6626 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.5501, allocations: 167 kB / 0.6627 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5502, allocations: 0 / 0.6627 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5502, allocations: 0 / 0.6627 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.5503, allocations: 29.7 kB / 0.6627 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5503, allocations: 0 / 0.6627 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.5503, allocations: 3.844 kB / 0.6627 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.5503, allocations: 3.953 kB / 0.6627 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.5504, allocations: 4 kB / 0.6628 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.5505, allocations: 157.6 kB / 0.6629 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.5506, allocations: 30.55 kB / 0.6629 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.5506, allocations: 8.922 kB / 0.6629 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.5507, allocations: 3.984 kB / 0.6629 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5507, allocations: 30.56 kB / 0.663 GB, free: 15.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.5507, allocations: 0 / 0.663 GB, free: 15.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.5509, allocations: 41.69 kB / 0.663 GB, free: 14.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5509, allocations: 59.39 kB / 0.6631 GB, free: 14.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.551, allocations: 89 kB / 0.6632 GB, free: 14.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.551, allocations: 25.7 kB / 0.6632 GB, free: 14.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.5511, allocations: 80.14 kB / 0.6633 GB, free: 14.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.5511, allocations: 7.906 kB / 0.6633 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.5511, allocations: 0 / 0.6633 GB, free: 14.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5512, allocations: 318.8 kB / 0.6636 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.5513, allocations: 3.938 kB / 0.6636 GB, free: 14.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.5513, allocations: 8.125 kB / 0.6636 GB, free: 14.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.712e-05/0.5513, allocations: 3.938 kB / 0.6636 GB, free: 14.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5513, allocations: 4 kB / 0.6636 GB, free: 14.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.463e-05/0.5514, allocations: 37.7 kB / 0.6636 GB, free: 14.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5514, allocations: 4 kB / 0.6636 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5514, allocations: 0 / 0.6636 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5514, allocations: 0 / 0.6636 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.5516, allocations: 11.98 kB / 0.6636 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003752/0.552, allocations: 0.5899 MB / 0.6642 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.552, allocations: 4.031 kB / 0.6642 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.552, allocations: 0 / 0.6642 GB, free: 13.68 MB / 490.7 MB 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 () * 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 7.488e-05/0.5521, allocations: 101 kB / 0.6643 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.5521, allocations: 0 / 0.6643 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.5523, allocations: 51.58 kB / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5523, allocations: 8.125 kB / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5523, allocations: 0 / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5523, allocations: 0 / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.5524, allocations: 157.6 kB / 0.6645 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5524, allocations: 0 / 0.6645 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.5525, allocations: 15.92 kB / 0.6645 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5525, allocations: 0 / 0.6645 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.5526, allocations: 0 / 0.6645 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.5529, allocations: 0.5863 MB / 0.6651 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5529, allocations: 5.031 kB / 0.6651 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.907e-05/0.5529, allocations: 65.16 kB / 0.6652 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.553, allocations: 85 kB / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.553, allocations: 0 / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.5531, allocations: 0 / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.5531, allocations: 0 / 0.6653 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5531, allocations: 8.125 kB / 0.6653 GB, free: 12.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.5531, allocations: 75.28 kB / 0.6653 GB, free: 12.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5531, allocations: 0 / 0.6653 GB, free: 12.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.5533, allocations: 8 kB / 0.6653 GB, free: 12.41 MB / 490.7 MB 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 () * 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.0003945/0.5537, allocations: 0.6296 MB / 0.666 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.5539, allocations: 22.17 kB / 0.666 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5539, allocations: 3.938 kB / 0.666 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.554, allocations: 12 kB / 0.666 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.991e-05/0.5541, allocations: 0.75 kB / 0.666 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.5544, allocations: 91.2 kB / 0.6661 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.5547, allocations: 0.6772 MB / 0.6667 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.5547, allocations: 4 kB / 0.6667 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.5547, allocations: 11.44 kB / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5548, allocations: 0 / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.5677, allocations: 1.14 MB / 0.6679 GB, free: 9.984 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.5679, allocations: 208.4 kB / 0.6681 GB, free: 9.762 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.059, allocations: 2.344 kB / 0.6681 GB, free: 9.762 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)