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.002175/0.002176, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6539/0.6539, allocations: 91.98 MB / 108.5 MB, free: 13.04 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.862/1.862, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001012/0.001012, allocations: 96.27 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1734, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5268/0.7002, allocations: 103.3 MB / 0.6698 GB, free: 1.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.7005, allocations: 79.95 kB / 0.6699 GB, free: 1.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.717, allocations: 5.413 MB / 0.6751 GB, free: 11.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.717, allocations: 0 / 0.6751 GB, free: 11.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.717, allocations: 4 kB / 0.6751 GB, free: 11.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005409/0.7176, allocations: 371.8 kB / 0.6755 GB, free: 11.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.7177, allocations: 8.031 kB / 0.6755 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.7177, allocations: 38.56 kB / 0.6755 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.7177, allocations: 0 / 0.6755 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7179, allocations: 163.1 kB / 0.6757 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.7179, allocations: 0 / 0.6757 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.7179, allocations: 4 kB / 0.6757 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.7181, allocations: 41.69 kB / 0.6757 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7181, allocations: 3.953 kB / 0.6757 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.7181, allocations: 0 / 0.6757 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7181, allocations: 7.875 kB / 0.6758 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.7182, allocations: 19.98 kB / 0.6758 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.7186, allocations: 248.9 kB / 0.676 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.7188, allocations: 50.62 kB / 0.6761 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.7188, allocations: 7.938 kB / 0.6761 GB, free: 10.51 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.7189, allocations: 34.5 kB / 0.6761 GB, free: 10.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.7189, allocations: 0 / 0.6761 GB, free: 10.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.000214/0.7191, allocations: 61.69 kB / 0.6762 GB, free: 10.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.7192, allocations: 51.41 kB / 0.6762 GB, free: 10.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.7193, allocations: 96.98 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.7193, allocations: 29.7 kB / 0.6763 GB, free: 10.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.7194, allocations: 80.14 kB / 0.6764 GB, free: 10.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.7194, allocations: 7.812 kB / 0.6764 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.7194, allocations: 4 kB / 0.6764 GB, free: 10.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7196, allocations: 314.8 kB / 0.6767 GB, free: 9.789 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.7196, allocations: 7.984 kB / 0.6767 GB, free: 9.781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.7196, allocations: 17.72 kB / 0.6767 GB, free: 9.758 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.7197, allocations: 19.94 kB / 0.6768 GB, free: 9.738 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7197, allocations: 0 / 0.6768 GB, free: 9.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001083/0.7198, allocations: 54.06 kB / 0.6768 GB, free: 9.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7198, allocations: 11.89 kB / 0.6768 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7198, allocations: 4 kB / 0.6768 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7199, allocations: 0 / 0.6768 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.7199, allocations: 15.97 kB / 0.6768 GB, free: 9.648 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.7199, allocations: 0 / 0.6768 GB, free: 9.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.72, allocations: 3.984 kB / 0.6768 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.72, allocations: 4 kB / 0.6768 GB, free: 9.641 MB / 474.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 () * Number of clocked 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 9.904e-05/0.7201, allocations: 109.9 kB / 0.677 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.7201, allocations: 3.906 kB / 0.677 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.7203, allocations: 69.12 kB / 0.677 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7203, allocations: 0 / 0.677 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7203, allocations: 0 / 0.677 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7203, allocations: 0 / 0.677 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.7205, allocations: 161.6 kB / 0.6772 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7205, allocations: 3.938 kB / 0.6772 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.7206, allocations: 8 kB / 0.6772 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7206, allocations: 3.938 kB / 0.6772 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.7206, allocations: 4.125 kB / 0.6772 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.7206, allocations: 7.953 kB / 0.6772 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7207, allocations: 0 / 0.6772 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.7208, allocations: 143.5 kB / 0.6773 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.7209, allocations: 85 kB / 0.6774 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.7209, allocations: 0 / 0.6774 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.721, allocations: 4 kB / 0.6774 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.721, allocations: 7.953 kB / 0.6774 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.721, allocations: 0 / 0.6774 GB, free: 8.941 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.721, allocations: 83.28 kB / 0.6775 GB, free: 8.859 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.721, allocations: 0 / 0.6775 GB, free: 8.859 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.7213, allocations: 23.98 kB / 0.6775 GB, free: 8.836 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 (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.0006062/0.7219, allocations: 0.7007 MB / 0.6782 GB, free: 8.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.7221, allocations: 23.92 kB / 0.6782 GB, free: 8.086 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7221, allocations: 0 / 0.6782 GB, free: 8.086 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.7221, allocations: 12 kB / 0.6783 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.7223, allocations: 10.7 kB / 0.6783 GB, free: 8.066 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.7228, allocations: 179 kB / 0.6784 GB, free: 7.848 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.7231, allocations: 0.677 MB / 0.6791 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.419e-05/0.7232, allocations: 12.61 kB / 0.6791 GB, free: 7.133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.7232, allocations: 11.44 kB / 0.6791 GB, free: 7.121 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7232, allocations: 0 / 0.6791 GB, free: 7.121 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.7375, allocations: 1.169 MB / 0.6803 GB, free: 6.125 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.7378, allocations: 200.8 kB / 0.6805 GB, free: 5.879 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.305, allocations: 4 kB / 0.6805 GB, free: 5.875 MB / 474.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)