Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001554/0.001554, allocations: 75.77 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001678/0.001678, allocations: 170.8 kB / 23.22 MB, free: 4.887 MB / 14.72 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.42/1.42, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9149/0.9149, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.269e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002678/0.0027, allocations: 1.521 MB / 0.5562 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.003645, allocations: 462.9 kB / 0.5566 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.00371, allocations: 0 / 0.5566 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.003738, allocations: 3.938 kB / 0.5566 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.003799, allocations: 11.86 kB / 0.5566 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.004038, allocations: 39.83 kB / 0.5567 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.004178, allocations: 59.72 kB / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.004271, allocations: 11.98 kB / 0.5567 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.004427, allocations: 31.91 kB / 0.5568 GB, free: 500 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.0045, allocations: 15.92 kB / 0.5568 GB, free: 484 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.004521, allocations: 11.98 kB / 0.5568 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.004569, allocations: 12 kB / 0.5568 GB, free: 460 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.004585, allocations: 7.984 kB / 0.5568 GB, free: 452 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.004618, allocations: 11.94 kB / 0.5568 GB, free: 440 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.00476, allocations: 55.73 kB / 0.5569 GB, free: 384 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.004765, allocations: 4 kB / 0.5569 GB, free: 380 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004766, allocations: 0 / 0.5569 GB, free: 380 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.00477, allocations: 0 / 0.5569 GB, free: 380 kB / 462.1 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.0005274/0.005297, allocations: 290.1 kB / 0.5572 GB, free: 60 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005334, allocations: 12.62 kB / 0.5572 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.005539, allocations: 28.88 kB / 0.5572 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.005738, allocations: 133 kB / 0.5573 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.005749, allocations: 384 / 0.5573 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.005764, allocations: 4.375 kB / 0.5573 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.005945, allocations: 57.8 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005954, allocations: 0 / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.005963, allocations: 0 / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005971, allocations: 4 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.006128, allocations: 39.91 kB / 0.5574 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.006467, allocations: 220.5 kB / 0.5576 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.006595, allocations: 38.56 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.00667, allocations: 24.94 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.006686, allocations: 0 / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.006715, allocations: 34.56 kB / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.006716, allocations: 0 / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003627/0.007078, allocations: 97.75 kB / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.00712, allocations: 55.41 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.007228, allocations: 121.8 kB / 0.558 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.007252, allocations: 25.7 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.007314, allocations: 104.1 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.007332, allocations: 3.953 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.007367, allocations: 13.72 kB / 0.5581 GB, free: 14.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.007513, allocations: 318.8 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.007587, allocations: 23.98 kB / 0.5585 GB, free: 14.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.007658, allocations: 15.98 kB / 0.5585 GB, free: 14.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.007792, allocations: 44.7 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007794, allocations: 0 / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002021/0.007996, allocations: 77.56 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.008009, allocations: 4 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008013, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008026, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.00812, allocations: 15.98 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.008125, allocations: 0 / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.008179, allocations: 11.92 kB / 0.5586 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.008189, allocations: 4 kB / 0.5586 GB, free: 14.41 MB / 478.1 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.008282, allocations: 117.7 kB / 0.5587 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.008311, allocations: 7.953 kB / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.008336, allocations: 8 kB / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.008338, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008341, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008343, allocations: 11.94 kB / 0.5588 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.008506, allocations: 121.2 kB / 0.5589 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008507, allocations: 0 / 0.5589 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.008592, allocations: 11.94 kB / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008594, allocations: 0 / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.008607, allocations: 7.984 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008609, allocations: 0 / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.00861, allocations: 0 / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.008839, allocations: 167.4 kB / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.008852, allocations: 7.984 kB / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.008867, allocations: 4 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.008957, allocations: 4 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.009002, allocations: 3.984 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.009008, allocations: 4 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.009072, allocations: 95.27 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 5e-08/0.009072, allocations: 0 / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.009284, allocations: 11.94 kB / 0.5592 GB, free: 13.79 MB / 478.1 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.009388, allocations: 95.25 kB / 0.5593 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.00956, allocations: 39.97 kB / 0.5593 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009561, allocations: 0 / 0.5593 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.00963, allocations: 19.98 kB / 0.5593 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.009839, allocations: 9.812 kB / 0.5593 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.0102, allocations: 164.6 kB / 0.5595 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.01026, allocations: 79.19 kB / 0.5596 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.07e-05/0.01029, allocations: 4.359 kB / 0.5596 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.01033, allocations: 12.5 kB / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01033, allocations: 0 / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of Templates: time 0.002681/0.01301, allocations: 467.1 kB / 0.56 GB, free: 12.89 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.205295413732529] Failed to read output from testmodel.py, exit status != 0: 0.021203361451625824 0.036275009000000004 0.028475640000000003 Calling exit ...