Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003285/0.003285, allocations: 238.6 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.188/1.188, allocations: 138.4 MB / 454.7 MB, free: 1.477 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.838e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00244/0.002479, allocations: 1.267 MB / 0.5556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003561, allocations: 0.5487 MB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.003582, allocations: 8 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.003601, allocations: 7.875 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.003652, allocations: 3.984 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.004198, allocations: 143.2 kB / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.004246, allocations: 7.938 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.00428, allocations: 3.938 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.004314, allocations: 7.984 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.004358, allocations: 4 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.004372, allocations: 4 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.004844, allocations: 271.4 kB / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.004855, allocations: 0 / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.004873, allocations: 4 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.00518, allocations: 151.5 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005183, allocations: 0 / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.005186, allocations: 3.984 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005191, allocations: 0 / 0.5567 GB, free: 14.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004824/0.005673, allocations: 375.9 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.005716, allocations: 12.75 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.005754, allocations: 4.938 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.005872, allocations: 108.6 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.005889, allocations: 8.375 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.005896, allocations: 384 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.859e-05/0.005995, allocations: 34.25 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006003, allocations: 192 / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006011, allocations: 384 / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.006015, allocations: 384 / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.00605, allocations: 7.938 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.006221, allocations: 108.6 kB / 0.5573 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.006295, allocations: 43.03 kB / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.006318, allocations: 7.688 kB / 0.5574 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.006345, allocations: 8.047 kB / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.006381, allocations: 37.39 kB / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.006382, allocations: 0 / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.006549, allocations: 37.7 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.006595, allocations: 51.41 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.006728, allocations: 165.8 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.006748, allocations: 33.64 kB / 0.5577 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.006826, allocations: 131.1 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.006847, allocations: 3.953 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.006887, allocations: 23.38 kB / 0.5578 GB, free: 13.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.007141, allocations: 492.1 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.007154, allocations: 0 / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-06/0.007162, allocations: 4 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.0072, allocations: 19.67 kB / 0.5583 GB, free: 12.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007202, allocations: 0 / 0.5583 GB, free: 12.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.602e-05/0.007268, allocations: 41.66 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.00728, allocations: 4.094 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.007285, allocations: 4 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.007299, allocations: 3.938 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.007456, allocations: 11.98 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006395/0.008096, allocations: 0.8972 MB / 0.5593 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.008113, allocations: 0 / 0.5593 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.008118, allocations: 0 / 0.5593 GB, free: 11.52 MB / 490.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.008235, allocations: 156.6 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.008246, allocations: 7.938 kB / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.008365, allocations: 53 kB / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008366, allocations: 0 / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.00837, allocations: 0 / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.008372, allocations: 0 / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.008485, allocations: 116.6 kB / 0.5596 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.008486, allocations: 0 / 0.5596 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.008566, allocations: 8 kB / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008568, allocations: 0 / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.008581, allocations: 7.938 kB / 0.5596 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007271/0.009308, allocations: 0.905 MB / 0.5605 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.009309, allocations: 0 / 0.5605 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.009413, allocations: 80.28 kB / 0.5606 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.009422, allocations: 4 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.009436, allocations: 3.984 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.009449, allocations: 0 / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.009471, allocations: 4 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.009473, allocations: 0 / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.065e-05/0.009544, allocations: 123.1 kB / 0.5607 GB, free: 9.965 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009544, allocations: 4.188 kB / 0.5607 GB, free: 9.961 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.009744, allocations: 11.94 kB / 0.5607 GB, free: 9.949 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 () * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.009941, allocations: 111.2 kB / 0.5608 GB, free: 9.832 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.01013, allocations: 31.61 kB / 0.5609 GB, free: 9.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01013, allocations: 0 / 0.5609 GB, free: 9.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.01024, allocations: 23.67 kB / 0.5609 GB, free: 9.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.01038, allocations: 4.953 kB / 0.5609 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01074, allocations: 124 kB / 0.561 GB, free: 9.617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.01079, allocations: 55.36 kB / 0.561 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.01081, allocations: 0 / 0.561 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.01083, allocations: 8.5 kB / 0.5611 GB, free: 9.535 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01083, allocations: 0 / 0.5611 GB, free: 9.535 MB / 490.7 MB Notification: Performance of Templates: time 0.003394/0.01422, allocations: 0.4985 MB / 0.5615 GB, free: 9.082 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.858847191091627]