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: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 177.6 kB / 8.002 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.491/0.491, allocations: 90.91 MB / 99.35 MB, free: 2.223 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.471/1.471, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.0008429/0.0008431, allocations: 101.2 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.499e-05/1.5e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5231/0.6708, allocations: 102.5 MB / 0.6537 GB, free: 7.695 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.6711, allocations: 84.31 kB / 0.6537 GB, free: 7.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01534/0.6865, allocations: 5.375 MB / 0.659 GB, free: 3.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6865, allocations: 0 / 0.659 GB, free: 3.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.6865, allocations: 0 / 0.659 GB, free: 3.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003273/0.6869, allocations: 355 kB / 0.6593 GB, free: 2.793 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.6869, allocations: 12.03 kB / 0.6593 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.6869, allocations: 7.906 kB / 0.6594 GB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.687, allocations: 171 kB / 0.6595 GB, free: 2.566 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.6871, allocations: 3.938 kB / 0.6595 GB, free: 2.562 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.6871, allocations: 0 / 0.6595 GB, free: 2.562 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.905e-05/0.6872, allocations: 12 kB / 0.6595 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.412e-05/0.6872, allocations: 41.2 kB / 0.6596 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.6872, allocations: 0 / 0.6596 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.6873, allocations: 0 / 0.6596 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6873, allocations: 0 / 0.6596 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.6875, allocations: 229.1 kB / 0.6598 GB, free: 2.254 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.6877, allocations: 48.88 kB / 0.6598 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.6878, allocations: 15.89 kB / 0.6599 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.6878, allocations: 7.172 kB / 0.6599 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.6878, allocations: 34.52 kB / 0.6599 GB, free: 2.141 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.6878, allocations: 4 kB / 0.6599 GB, free: 2.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001245/0.6879, allocations: 41.2 kB / 0.6599 GB, free: 2.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.688, allocations: 55.39 kB / 0.66 GB, free: 2.027 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.6881, allocations: 92.94 kB / 0.6601 GB, free: 1.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.6881, allocations: 25.7 kB / 0.6601 GB, free: 1.898 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.6881, allocations: 91.98 kB / 0.6602 GB, free: 1.809 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.6881, allocations: 7.812 kB / 0.6602 GB, free: 1.801 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.6882, allocations: 7.875 kB / 0.6602 GB, free: 1.793 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.6883, allocations: 318.8 kB / 0.6605 GB, free: 1.473 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.6883, allocations: 7.875 kB / 0.6605 GB, free: 1.469 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.6883, allocations: 21.47 kB / 0.6605 GB, free: 1.445 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.6883, allocations: 4 kB / 0.6605 GB, free: 1.441 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6883, allocations: 0 / 0.6605 GB, free: 1.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.37e-05/0.6884, allocations: 49.5 kB / 0.6606 GB, free: 1.391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6884, allocations: 4.938 kB / 0.6606 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6884, allocations: 4 kB / 0.6606 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6885, allocations: 7.984 kB / 0.6606 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.6885, allocations: 15.92 kB / 0.6606 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6885, allocations: 0 / 0.6606 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.6886, allocations: 0 / 0.6606 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6886, allocations: 4 kB / 0.6606 GB, free: 1.355 MB / 458.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 5.924e-05/0.6886, allocations: 101 kB / 0.6607 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.6887, allocations: 3.875 kB / 0.6607 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.6888, allocations: 56.72 kB / 0.6608 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6888, allocations: 7.984 kB / 0.6608 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6888, allocations: 3.953 kB / 0.6608 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6888, allocations: 0 / 0.6608 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.689, allocations: 137.2 kB / 0.6609 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.689, allocations: 0 / 0.6609 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.689, allocations: 11.98 kB / 0.6609 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.689, allocations: 3.938 kB / 0.6609 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.689, allocations: 0 / 0.6609 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.689, allocations: 128 / 0.6609 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.689, allocations: 4 kB / 0.6609 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.6892, allocations: 154.5 kB / 0.6611 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.6892, allocations: 77.11 kB / 0.6612 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.6892, allocations: 0 / 0.6612 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.6893, allocations: 4 kB / 0.6612 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.6893, allocations: 3.984 kB / 0.6612 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.6893, allocations: 0 / 0.6612 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.982e-05/0.6893, allocations: 81.78 kB / 0.6612 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6893, allocations: 0 / 0.6612 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.6896, allocations: 27.94 kB / 0.6613 GB, free: 0.625 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 (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.0001606/0.6898, allocations: 131 kB / 0.6614 GB, free: 496 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.826e-05/0.6898, allocations: 19.86 kB / 0.6614 GB, free: 480 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.6898, allocations: 0 / 0.6614 GB, free: 480 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.6899, allocations: 10.69 kB / 0.6614 GB, free: 472 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.69, allocations: 0 / 0.6614 GB, free: 472 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/0.6902, allocations: 67.12 kB / 0.6615 GB, free: 384 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.6904, allocations: 0.6846 MB / 0.6622 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.6905, allocations: 3.984 kB / 0.6622 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.6905, allocations: 11.44 kB / 0.6622 GB, free: 15.65 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6905, allocations: 0 / 0.6622 GB, free: 15.65 MB / 474.7 MB Notification: Performance of Templates: time 0.002031/0.6925, allocations: 486 kB / 0.6626 GB, free: 15.19 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)