Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001221/0.001221, allocations: 179.9 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.4867/0.4867, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.405/1.405, allocations: 221.3 MB / 348.3 MB, free: 488 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.0009248/0.0009246, allocations: 104.5 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.354e-05, allocations: 8 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.431, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.5799, allocations: 103.2 MB / 0.6611 GB, free: 1.113 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.5803, allocations: 75.95 kB / 0.6612 GB, free: 1.039 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03206/0.6124, allocations: 5.411 MB / 0.6665 GB, free: 11.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6124, allocations: 0 / 0.6665 GB, free: 11.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.6124, allocations: 0 / 0.6665 GB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005101/0.6129, allocations: 366.4 kB / 0.6668 GB, free: 11.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.746e-05/0.613, allocations: 11.98 kB / 0.6668 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.6131, allocations: 30.56 kB / 0.6668 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.6131, allocations: 7.906 kB / 0.6669 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.6133, allocations: 167.1 kB / 0.667 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6134, allocations: 3.984 kB / 0.667 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.6134, allocations: 4 kB / 0.667 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.6136, allocations: 41.69 kB / 0.6671 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6136, allocations: 3.953 kB / 0.6671 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.6136, allocations: 0 / 0.6671 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6136, allocations: 1.031 kB / 0.6671 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.6137, allocations: 15.94 kB / 0.6671 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.6142, allocations: 256.9 kB / 0.6673 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.6145, allocations: 46.69 kB / 0.6674 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.6146, allocations: 20.81 kB / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.6146, allocations: 0 / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.6147, allocations: 34.64 kB / 0.6674 GB, free: 10.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.6147, allocations: 0 / 0.6674 GB, free: 10.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.00023/0.6149, allocations: 53.64 kB / 0.6675 GB, free: 10.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.615, allocations: 51.41 kB / 0.6675 GB, free: 10.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6151, allocations: 100.9 kB / 0.6676 GB, free: 10.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.6152, allocations: 27.2 kB / 0.6676 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.6152, allocations: 84.05 kB / 0.6677 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.6153, allocations: 11.81 kB / 0.6677 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.6153, allocations: 4 kB / 0.6677 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6155, allocations: 314.8 kB / 0.668 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.6155, allocations: 15.94 kB / 0.6681 GB, free: 9.789 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.6156, allocations: 17.72 kB / 0.6681 GB, free: 9.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.6156, allocations: 8 kB / 0.6681 GB, free: 9.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6157, allocations: 0 / 0.6681 GB, free: 9.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001699/0.6158, allocations: 57.62 kB / 0.6681 GB, free: 9.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6159, allocations: 7.953 kB / 0.6681 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6159, allocations: 0 / 0.6681 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6159, allocations: 0 / 0.6681 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.616, allocations: 16.02 kB / 0.6682 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.616, allocations: 0 / 0.6682 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.6161, allocations: 4 kB / 0.6682 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6161, allocations: 7.594 kB / 0.6682 GB, free: 9.664 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.6162, allocations: 105 kB / 0.6683 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.6163, allocations: 4 kB / 0.6683 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.6165, allocations: 69.44 kB / 0.6683 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6165, allocations: 0 / 0.6683 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.6165, allocations: 11.98 kB / 0.6683 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6166, allocations: 0 / 0.6683 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.6168, allocations: 157.6 kB / 0.6685 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.6168, allocations: 4 kB / 0.6685 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.6169, allocations: 4 kB / 0.6685 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.6169, allocations: 0 / 0.6685 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.617, allocations: 3.938 kB / 0.6685 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.617, allocations: 3.953 kB / 0.6685 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.617, allocations: 0 / 0.6685 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.6172, allocations: 151.5 kB / 0.6687 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.6173, allocations: 77.11 kB / 0.6687 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.6173, allocations: 0 / 0.6687 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.6174, allocations: 0 / 0.6687 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.6175, allocations: 11.94 kB / 0.6687 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.6175, allocations: 0 / 0.6687 GB, free: 8.973 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.6175, allocations: 79.28 kB / 0.6688 GB, free: 8.895 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6175, allocations: 0 / 0.6688 GB, free: 8.895 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004352/0.618, allocations: 20 kB / 0.6688 GB, free: 8.875 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006617/0.6187, allocations: 0.7216 MB / 0.6695 GB, free: 8.129 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.6188, allocations: 16 kB / 0.6696 GB, free: 8.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6188, allocations: 4 kB / 0.6696 GB, free: 8.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.6189, allocations: 15.94 kB / 0.6696 GB, free: 8.094 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.6191, allocations: 5.922 kB / 0.6696 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.6196, allocations: 118.6 kB / 0.6697 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.6199, allocations: 0.6809 MB / 0.6704 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.62, allocations: 3.438 kB / 0.6704 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.62, allocations: 15.44 kB / 0.6704 GB, free: 7.215 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.62, allocations: 0 / 0.6704 GB, free: 7.215 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.6364, allocations: 1.177 MB / 0.6715 GB, free: 6.227 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.6367, allocations: 171.7 kB / 0.6717 GB, free: 6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.065, allocations: 0 / 0.6717 GB, free: 6 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)