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.0009095/0.0009095, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.49/0.49, allocations: 90.92 MB / 99.35 MB, free: 2.133 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 87.95 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.045e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.6029, allocations: 101.3 MB / 0.6525 GB, free: 8.773 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.6032, allocations: 77.06 kB / 0.6526 GB, free: 8.727 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006454/0.6096, allocations: 2.3 MB / 0.6548 GB, free: 6.793 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6097, allocations: 0 / 0.6548 GB, free: 6.793 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.6097, allocations: 0 / 0.6548 GB, free: 6.793 MB / 458.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.0002425/0.6099, allocations: 335.1 kB / 0.6551 GB, free: 6.422 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.61, allocations: 12.03 kB / 0.6551 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.61, allocations: 7.859 kB / 0.6552 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.6101, allocations: 163 kB / 0.6553 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.6101, allocations: 4 kB / 0.6553 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.6101, allocations: 0 / 0.6553 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.33e-05/0.6102, allocations: 0 / 0.6553 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.481e-05/0.6103, allocations: 37.31 kB / 0.6554 GB, free: 6.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6103, allocations: 3.938 kB / 0.6554 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.6103, allocations: 7.938 kB / 0.6554 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6103, allocations: 4 kB / 0.6554 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.6104, allocations: 130.2 kB / 0.6555 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/0.6105, allocations: 22.23 kB / 0.6555 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.6105, allocations: 12.91 kB / 0.6555 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.6105, allocations: 3.938 kB / 0.6555 GB, free: 5.934 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.6106, allocations: 30.56 kB / 0.6556 GB, free: 5.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6106, allocations: 0 / 0.6556 GB, free: 5.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001112/0.6107, allocations: 37.7 kB / 0.6556 GB, free: 5.852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.6107, allocations: 54.97 kB / 0.6556 GB, free: 5.789 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.6108, allocations: 89 kB / 0.6557 GB, free: 5.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.6108, allocations: 25.7 kB / 0.6558 GB, free: 5.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.6108, allocations: 80.14 kB / 0.6558 GB, free: 5.582 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.6109, allocations: 7.891 kB / 0.6558 GB, free: 5.574 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.6109, allocations: 0 / 0.6558 GB, free: 5.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.611, allocations: 326.3 kB / 0.6562 GB, free: 5.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.611, allocations: 4 kB / 0.6562 GB, free: 5.246 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.611, allocations: 0 / 0.6562 GB, free: 5.246 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.393e-05/0.611, allocations: 4 kB / 0.6562 GB, free: 5.242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.611, allocations: 0 / 0.6562 GB, free: 5.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.689e-05/0.6111, allocations: 37.64 kB / 0.6562 GB, free: 5.199 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6111, allocations: 9.391 kB / 0.6562 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.6111, allocations: 0 / 0.6562 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.6111, allocations: 0 / 0.6562 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.6113, allocations: 12.09 kB / 0.6562 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002912/0.6116, allocations: 0.5882 MB / 0.6568 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.6116, allocations: 0 / 0.6568 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.6116, allocations: 3.984 kB / 0.6568 GB, free: 4.57 MB / 458.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 5.83e-05/0.6117, allocations: 101 kB / 0.6569 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.219e-05/0.6117, allocations: 39.05 kB / 0.6569 GB, free: 4.422 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.6118, allocations: 15.09 kB / 0.6569 GB, free: 4.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.358e-05/0.6118, allocations: 45.39 kB / 0.657 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6119, allocations: 0 / 0.657 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6119, allocations: 0 / 0.657 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6119, allocations: 0 / 0.657 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.057e-05/0.6119, allocations: 133.6 kB / 0.6571 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.612, allocations: 4 kB / 0.6571 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.612, allocations: 4 kB / 0.6571 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.612, allocations: 4 kB / 0.6571 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.6121, allocations: 4.031 kB / 0.6571 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002426/0.6123, allocations: 0.5893 MB / 0.6577 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6123, allocations: 3.938 kB / 0.6577 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.72e-05/0.6124, allocations: 56.48 kB / 0.6578 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.6124, allocations: 85.19 kB / 0.6578 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.6124, allocations: 7.984 kB / 0.6578 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.6125, allocations: 0 / 0.6578 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.6125, allocations: 7.375 kB / 0.6579 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.6125, allocations: 0 / 0.6579 GB, free: 3.387 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.567e-05/0.6125, allocations: 79.28 kB / 0.6579 GB, free: 3.309 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6125, allocations: 0 / 0.6579 GB, free: 3.309 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.6127, allocations: 11.94 kB / 0.6579 GB, free: 3.297 MB / 458.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.0003249/0.613, allocations: 0.6261 MB / 0.6586 GB, free: 2.645 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.6132, allocations: 12 kB / 0.6586 GB, free: 2.633 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6132, allocations: 0 / 0.6586 GB, free: 2.633 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.6133, allocations: 19.3 kB / 0.6586 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.559e-05/0.6134, allocations: 1.75 kB / 0.6586 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.6136, allocations: 85.81 kB / 0.6587 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.6138, allocations: 0.6768 MB / 0.6593 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.446e-05/0.6138, allocations: 0 / 0.6593 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.6138, allocations: 11.44 kB / 0.6593 GB, free: 1.781 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.6139, allocations: 0 / 0.6593 GB, free: 1.781 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.6327, allocations: 0.7419 MB / 0.6601 GB, free: 1.047 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.633, allocations: 180.1 kB / 0.6602 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.304/1.937, allocations: 0 / 0.6602 GB, free: 0.8477 MB / 458.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)