Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.6882/0.6882, allocations: 127.4 MB / 134.9 MB, free: 3.762 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 180.8 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.2 MB / 399.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008172/0.0008172, allocations: 90.41 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.122e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.656, allocations: 102.6 MB / 0.7219 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.6563, allocations: 89.16 kB / 0.722 GB, free: 12.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006654/0.663, allocations: 2.386 MB / 0.7243 GB, free: 10.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.663, allocations: 0 / 0.7243 GB, free: 10.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.663, allocations: 4 kB / 0.7243 GB, free: 10.64 MB / 490.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.0002521/0.6632, allocations: 330.4 kB / 0.7246 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6633, allocations: 11.97 kB / 0.7246 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.6633, allocations: 3.953 kB / 0.7246 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.6635, allocations: 167.1 kB / 0.7248 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.6635, allocations: 0 / 0.7248 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.6635, allocations: 0 / 0.7248 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.984e-05/0.6635, allocations: 7.984 kB / 0.7248 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.548e-05/0.6636, allocations: 25.7 kB / 0.7248 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.6636, allocations: 0 / 0.7248 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.6636, allocations: 0 / 0.7248 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6637, allocations: 7.953 kB / 0.7248 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.6638, allocations: 125.9 kB / 0.7249 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.6638, allocations: 30.53 kB / 0.725 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.6639, allocations: 16.36 kB / 0.725 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.6641, allocations: 93.09 kB / 0.7251 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6641, allocations: 30.56 kB / 0.7251 GB, free: 9.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6641, allocations: 0 / 0.7251 GB, free: 9.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004324/0.6646, allocations: 74.5 kB / 0.7252 GB, free: 9.578 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.6646, allocations: 51.41 kB / 0.7252 GB, free: 9.516 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.6647, allocations: 85 kB / 0.7253 GB, free: 9.426 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6647, allocations: 25.7 kB / 0.7253 GB, free: 9.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.6647, allocations: 84.3 kB / 0.7254 GB, free: 9.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.6648, allocations: 8.688 kB / 0.7254 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.6648, allocations: 0 / 0.7254 GB, free: 9.301 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.6649, allocations: 322.7 kB / 0.7257 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.6649, allocations: 4 kB / 0.7257 GB, free: 8.977 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.6649, allocations: 7.938 kB / 0.7257 GB, free: 8.969 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.665, allocations: 7.688 kB / 0.7257 GB, free: 8.965 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.665, allocations: 3.938 kB / 0.7257 GB, free: 8.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.932e-05/0.665, allocations: 41.56 kB / 0.7258 GB, free: 8.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6651, allocations: 9.031 kB / 0.7258 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6651, allocations: 0 / 0.7258 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6651, allocations: 7.984 kB / 0.7258 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.6662, allocations: 131.8 kB / 0.7259 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.6682, allocations: 1.371 MB / 0.7273 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.6683, allocations: 4.031 kB / 0.7273 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.6683, allocations: 3.984 kB / 0.7273 GB, free: 7.305 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real 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 0.0001169/0.6685, allocations: 109 kB / 0.7274 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.784e-05/0.6685, allocations: 41.45 kB / 0.7274 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.6685, allocations: 3.984 kB / 0.7274 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.6686, allocations: 7.438 kB / 0.7274 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6686, allocations: 4 kB / 0.7274 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.6686, allocations: 0 / 0.7274 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6686, allocations: 0 / 0.7274 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.402e-05/0.6687, allocations: 138.2 kB / 0.7276 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6687, allocations: 4.031 kB / 0.7276 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.6698, allocations: 143.8 kB / 0.7277 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6698, allocations: 0 / 0.7277 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.6698, allocations: 7.922 kB / 0.7277 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.6718, allocations: 1.375 MB / 0.7291 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6718, allocations: 0 / 0.7291 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.656e-05/0.6719, allocations: 73.08 kB / 0.7291 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.6719, allocations: 77.11 kB / 0.7292 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.6719, allocations: 0 / 0.7292 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.672, allocations: 4 kB / 0.7292 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.6721, allocations: 11.97 kB / 0.7292 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.6721, allocations: 4 kB / 0.7292 GB, free: 5.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.6721, allocations: 83.12 kB / 0.7293 GB, free: 5.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6721, allocations: 3.938 kB / 0.7293 GB, free: 5.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.6723, allocations: 12 kB / 0.7293 GB, free: 5.051 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.0003258/0.6726, allocations: 0.6006 MB / 0.7299 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.6737, allocations: 131.7 kB / 0.73 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6737, allocations: 0 / 0.73 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.6747, allocations: 143.5 kB / 0.7302 GB, free: 4.164 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.6748, allocations: 4.062 kB / 0.7302 GB, free: 4.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.6758, allocations: 177.5 kB / 0.7303 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.6759, allocations: 0.6768 MB / 0.731 GB, free: 3.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.6759, allocations: 7.938 kB / 0.731 GB, free: 3.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.676, allocations: 7.438 kB / 0.731 GB, free: 3.234 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.676, allocations: 0 / 0.731 GB, free: 3.234 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.6933, allocations: 0.7596 MB / 0.7318 GB, free: 2.504 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6935, allocations: 189 kB / 0.7319 GB, free: 2.312 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.143, allocations: 3.938 kB / 0.7319 GB, free: 2.309 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)