Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.00182/0.001821, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5482/0.5482, allocations: 91.99 MB / 108.5 MB, free: 13.05 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.665/1.665, allocations: 223.2 MB / 354.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 111.1 kB / 427.4 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003846, allocations: 12 kB / 0.4983 GB, free: 41.94 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 72.3 MB / 0.5689 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5275/0.7015, allocations: 102.1 MB / 0.6686 GB, free: 2.242 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.7018, allocations: 83.94 kB / 0.6687 GB, free: 2.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.7123, allocations: 3.494 MB / 0.6721 GB, free: 14.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7124, allocations: 0 / 0.6721 GB, free: 14.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.7124, allocations: 0 / 0.6721 GB, free: 14.68 MB / 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.0003916/0.7128, allocations: 343.8 kB / 0.6724 GB, free: 14.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.7128, allocations: 19.97 kB / 0.6725 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.7129, allocations: 34.52 kB / 0.6725 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.7129, allocations: 0 / 0.6725 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.7131, allocations: 159.1 kB / 0.6726 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7131, allocations: 0 / 0.6726 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.7131, allocations: 11.98 kB / 0.6727 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.7132, allocations: 37.62 kB / 0.6727 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7132, allocations: 0 / 0.6727 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.7133, allocations: 4 kB / 0.6727 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7133, allocations: 7.953 kB / 0.6727 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.7133, allocations: 0 / 0.6727 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.7135, allocations: 153.7 kB / 0.6729 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.164e-05/0.7136, allocations: 26.55 kB / 0.6729 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.7136, allocations: 4.062 kB / 0.6729 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.7136, allocations: 30.56 kB / 0.6729 GB, free: 13.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 3.086e-06/0.7136, allocations: 0 / 0.6729 GB, free: 13.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.7138, allocations: 49.62 kB / 0.673 GB, free: 13.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.7138, allocations: 51.41 kB / 0.673 GB, free: 13.58 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.7139, allocations: 92.95 kB / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.7139, allocations: 29.7 kB / 0.6731 GB, free: 13.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.714, allocations: 80.14 kB / 0.6732 GB, free: 13.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.714, allocations: 3.906 kB / 0.6732 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.714, allocations: 4 kB / 0.6732 GB, free: 13.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7142, allocations: 319.1 kB / 0.6735 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.7142, allocations: 0 / 0.6735 GB, free: 13.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.7142, allocations: 8 kB / 0.6735 GB, free: 13.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.439e-05/0.7142, allocations: 0 / 0.6735 GB, free: 13.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7142, allocations: 0 / 0.6735 GB, free: 13.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.034e-05/0.7143, allocations: 41.64 kB / 0.6736 GB, free: 12.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7143, allocations: 4 kB / 0.6736 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.7143, allocations: 0 / 0.6736 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7143, allocations: 0 / 0.6736 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.7145, allocations: 12.08 kB / 0.6736 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004019/0.7149, allocations: 0.586 MB / 0.6741 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.7149, allocations: 4 kB / 0.6742 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.715, allocations: 4.031 kB / 0.6742 GB, free: 12.35 MB / 474.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 () * 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 9.034e-05/0.7151, allocations: 113.7 kB / 0.6743 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-06/0.7151, allocations: 7.891 kB / 0.6743 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.7152, allocations: 44.92 kB / 0.6743 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7152, allocations: 3.953 kB / 0.6743 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7152, allocations: 0 / 0.6743 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.7152, allocations: 7.984 kB / 0.6743 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.7153, allocations: 145.7 kB / 0.6745 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7154, allocations: 0 / 0.6745 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.7154, allocations: 11.98 kB / 0.6745 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.7154, allocations: 0 / 0.6745 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.7155, allocations: 4 kB / 0.6745 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003745/0.7158, allocations: 0.5899 MB / 0.6751 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7158, allocations: 0 / 0.6751 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.305e-05/0.7159, allocations: 61.16 kB / 0.6751 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.716, allocations: 85 kB / 0.6752 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.716, allocations: 4.125 kB / 0.6752 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.716, allocations: 4 kB / 0.6752 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.7161, allocations: 0 / 0.6752 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.7161, allocations: 3.938 kB / 0.6752 GB, free: 11.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.7161, allocations: 83.27 kB / 0.6753 GB, free: 11.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7161, allocations: 0 / 0.6753 GB, free: 11.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000212/0.7164, allocations: 16 kB / 0.6753 GB, free: 11.05 MB / 474.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 () * 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.0005189/0.7169, allocations: 0.6163 MB / 0.6759 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.7171, allocations: 15.98 kB / 0.6759 GB, free: 10.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7171, allocations: 0 / 0.6759 GB, free: 10.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.7172, allocations: 23.92 kB / 0.6759 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.7173, allocations: 0 / 0.6759 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.7177, allocations: 150.5 kB / 0.6761 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.718, allocations: 0.6731 MB / 0.6767 GB, free: 9.477 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.697e-05/0.7181, allocations: 7.984 kB / 0.6768 GB, free: 9.469 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.7181, allocations: 11.44 kB / 0.6768 GB, free: 9.457 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7181, allocations: 0 / 0.6768 GB, free: 9.457 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.733, allocations: 1.138 MB / 0.6779 GB, free: 8.543 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.7334, allocations: 231.6 kB / 0.6781 GB, free: 8.305 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.383, allocations: 1.266 kB / 0.6781 GB, free: 8.305 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)