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.0009351/0.0009351, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009466/0.0009466, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.058/1.058, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.001499/0.001499, allocations: 237.7 kB / 261.3 MB, free: 12.68 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 0.7283/0.7283, allocations: 138.4 MB / 456.3 MB, free: 1.438 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.733e-06/1.733e-06, allocations: 0 / 0.5564 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.222e-05, allocations: 2.312 kB / 0.5564 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00224/0.002262, allocations: 1.309 MB / 0.5576 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.003169, allocations: 0.5487 MB / 0.5582 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.003196, allocations: 0 / 0.5582 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.003215, allocations: 0 / 0.5582 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.003265, allocations: 0 / 0.5582 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.003741, allocations: 151.2 kB / 0.5583 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.003792, allocations: 11.94 kB / 0.5583 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.003833, allocations: 4 kB / 0.5583 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.003867, allocations: 7.984 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.003915, allocations: 4 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.003927, allocations: 0 / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.004324, allocations: 275.3 kB / 0.5586 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.004338, allocations: 0 / 0.5586 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.004354, allocations: 4 kB / 0.5586 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.004599, allocations: 147.5 kB / 0.5587 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.004603, allocations: 3.984 kB / 0.5588 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004604, allocations: 0 / 0.5588 GB, free: 13.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.004607, allocations: 4 kB / 0.5588 GB, free: 13.8 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.0003834/0.004991, allocations: 376.3 kB / 0.5591 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.005039, allocations: 8.75 kB / 0.5591 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.00507, allocations: 4.938 kB / 0.5591 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.005177, allocations: 112.6 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.00519, allocations: 384 / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.005197, allocations: 4.375 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.343e-05/0.00526, allocations: 30.25 kB / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005268, allocations: 4.125 kB / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-06/0.005275, allocations: 4.312 kB / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.005282, allocations: 8.375 kB / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.005362, allocations: 3.938 kB / 0.5593 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.005498, allocations: 97.27 kB / 0.5594 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.005548, allocations: 31.09 kB / 0.5594 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.00556, allocations: 7.688 kB / 0.5594 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.005579, allocations: 4.062 kB / 0.5594 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.005601, allocations: 37.38 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/0.005604, allocations: 0 / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000113/0.005717, allocations: 37.64 kB / 0.5595 GB, free: 12.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.005745, allocations: 55.53 kB / 0.5595 GB, free: 12.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.005811, allocations: 153.9 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005821, allocations: 25.7 kB / 0.5597 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.005856, allocations: 134.9 kB / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.005885, allocations: 11.94 kB / 0.5599 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.005912, allocations: 15.38 kB / 0.5599 GB, free: 12.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.00603, allocations: 496.1 kB / 0.5603 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.00604, allocations: 4 kB / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.006046, allocations: 0 / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.006073, allocations: 19.81 kB / 0.5604 GB, free: 11.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006075, allocations: 0 / 0.5604 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.334e-05/0.006128, allocations: 41.69 kB / 0.5604 GB, free: 11.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.006142, allocations: 8 kB / 0.5604 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006147, allocations: 0 / 0.5604 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.006155, allocations: 0 / 0.5604 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.006293, allocations: 11.98 kB / 0.5604 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003546/0.006648, allocations: 0.897 MB / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.006667, allocations: 0 / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.006673, allocations: 4.094 kB / 0.5613 GB, free: 10.96 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 6.835e-05/0.006741, allocations: 164.6 kB / 0.5615 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.006746, allocations: 0 / 0.5615 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.006827, allocations: 44.94 kB / 0.5615 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.00683, allocations: 3.984 kB / 0.5615 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006832, allocations: 0 / 0.5615 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006835, allocations: 0 / 0.5615 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.006942, allocations: 101.3 kB / 0.5616 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006943, allocations: 3.938 kB / 0.5616 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.007002, allocations: 16.02 kB / 0.5616 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.007004, allocations: 0 / 0.5616 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-06/0.007007, allocations: 3.938 kB / 0.5616 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003519/0.007359, allocations: 0.8893 MB / 0.5625 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.007361, allocations: 0 / 0.5625 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.083e-05/0.007411, allocations: 80.39 kB / 0.5626 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.007422, allocations: 7.875 kB / 0.5626 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.007429, allocations: 3.938 kB / 0.5626 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.007439, allocations: 0 / 0.5626 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.00745, allocations: 8.094 kB / 0.5626 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007454, allocations: 3.984 kB / 0.5626 GB, free: 9.551 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.671e-05/0.00749, allocations: 123.2 kB / 0.5627 GB, free: 9.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00749, allocations: 0 / 0.5627 GB, free: 9.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.007623, allocations: 8 kB / 0.5627 GB, free: 9.422 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.0001406/0.007764, allocations: 115.2 kB / 0.5628 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.007886, allocations: 23.67 kB / 0.5629 GB, free: 9.273 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007887, allocations: 4.156 kB / 0.5629 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.007923, allocations: 19.67 kB / 0.5629 GB, free: 9.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.00803, allocations: 7 kB / 0.5629 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.008288, allocations: 117.9 kB / 0.563 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.008319, allocations: 59.34 kB / 0.5631 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.463e-05/0.008334, allocations: 0 / 0.5631 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.008363, allocations: 70.27 kB / 0.5631 GB, free: 8.953 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.008364, allocations: 0 / 0.5631 GB, free: 8.953 MB / 490.7 MB Notification: Performance of Templates: time 0.002109/0.01047, allocations: 0.5351 MB / 0.5636 GB, free: 8.457 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: 3.7741433018818498]