Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7084/0.7084, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001099/0.0011, allocations: 180.4 kB / 173.8 MB, free: 6.129 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.522/1.522, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008114/0.0008112, allocations: 102 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8.781 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.2839, allocations: 104.4 MB / 0.7373 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.2842, allocations: 83.94 kB / 0.7373 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01698/0.3012, allocations: 5.724 MB / 0.7429 GB, free: 212 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3013, allocations: 4 kB / 0.7429 GB, free: 208 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3013, allocations: 0 / 0.7429 GB, free: 208 kB / 0.5105 GB 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.2911/0.5924, allocations: 355.9 kB / 0.7433 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.5924, allocations: 8.531 kB / 0.7433 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.5925, allocations: 3.469 kB / 0.7433 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5926, allocations: 160.7 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.5926, allocations: 2.969 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.5926, allocations: 1.844 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.594, allocations: 171.6 kB / 0.7436 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.594, allocations: 0 / 0.7436 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.594, allocations: 6.797 kB / 0.7436 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.594, allocations: 0 / 0.7436 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.5952, allocations: 146.1 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.5956, allocations: 255.6 kB / 0.744 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.597, allocations: 172.1 kB / 0.7442 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.5975, allocations: 189.7 kB / 0.7443 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.5975, allocations: 37.73 kB / 0.7444 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.5975, allocations: 0 / 0.7444 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.002445/0.5999, allocations: 318.6 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.6, allocations: 55.23 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.6001, allocations: 96.58 kB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.6001, allocations: 28.52 kB / 0.7449 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.6001, allocations: 80.14 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.6002, allocations: 17.72 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.6002, allocations: 0 / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.6002, allocations: 314.2 kB / 0.7452 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.6005, allocations: 36.95 kB / 0.7453 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.6007, allocations: 54.44 kB / 0.7453 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.601, allocations: 33.88 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.601, allocations: 1.25 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005506/0.6015, allocations: 124.9 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6016, allocations: 6.156 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.6016, allocations: 1.094 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.6016, allocations: 9.703 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.6019, allocations: 23.45 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6019, allocations: 3.188 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.6021, allocations: 21.47 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.6021, allocations: 0.5625 kB / 0.7455 GB, free: 108.2 MB / 0.5105 GB 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 7.56e-05/0.6022, allocations: 112.9 kB / 0.7457 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.6022, allocations: 5.703 kB / 0.7457 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.6023, allocations: 6.375 kB / 0.7457 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6023, allocations: 5.078 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6023, allocations: 0.8906 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6023, allocations: 4.875 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.6025, allocations: 173.7 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6025, allocations: 0 / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.6027, allocations: 24.98 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6027, allocations: 0 / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.6027, allocations: 1.438 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6028, allocations: 0 / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6028, allocations: 3.953 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.6032, allocations: 212.2 kB / 0.7461 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.6033, allocations: 83.16 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.6033, allocations: 3.734 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.6035, allocations: 14.17 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.6035, allocations: 9.094 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6035, allocations: 10.48 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.6035, allocations: 78.59 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6035, allocations: 0 / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002283/0.6038, allocations: 10.16 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB 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.0001359/0.6039, allocations: 107.9 kB / 0.7464 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.6044, allocations: 84.77 kB / 0.7465 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6044, allocations: 4.062 kB / 0.7465 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.6046, allocations: 37.41 kB / 0.7465 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.6047, allocations: 7.188 kB / 0.7465 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.6053, allocations: 192.6 kB / 0.7467 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.6055, allocations: 0.6818 MB / 0.7474 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.431e-05/0.6056, allocations: 8 kB / 0.7474 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.6056, allocations: 17.3 kB / 0.7474 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.6056, allocations: 0 / 0.7474 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.00223/0.6079, allocations: 0.5242 MB / 0.7479 GB, free: 106.6 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)