Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.001488/0.001488, allocations: 85.22 kB / 19.94 MB, free: 1.781 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.00162/0.00162, allocations: 163.2 kB / 23.22 MB, free: 4.902 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.366/1.366, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] 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.9008/0.9008, 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.5546 GB, free: 2.535 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.133e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004211/0.004242, allocations: 2.506 MB / 0.5571 GB, free: 24 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.005639, allocations: 0.7323 MB / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.005732, allocations: 4 kB / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.007027, allocations: 0.5491 MB / 0.5583 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.007305, allocations: 99.42 kB / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.007633, allocations: 126.1 kB / 0.5586 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.007918, allocations: 203.4 kB / 0.5588 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.008279, allocations: 130.1 kB / 0.5589 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.00844, allocations: 115.8 kB / 0.559 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.008706, allocations: 87.75 kB / 0.5591 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.008735, allocations: 12 kB / 0.5591 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.008928, allocations: 99.7 kB / 0.5592 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.009014, allocations: 59.81 kB / 0.5592 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.009095, allocations: 51.91 kB / 0.5593 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.00944, allocations: 247.2 kB / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.009443, allocations: 0 / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009444, allocations: 0 / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00945, allocations: 0 / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006766/0.01013, allocations: 361.9 kB / 0.5599 GB, free: 13.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01017, allocations: 12.62 kB / 0.5599 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.01054, allocations: 48.8 kB / 0.5599 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.01081, allocations: 157.6 kB / 0.5601 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.01083, allocations: 16.66 kB / 0.5601 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.01086, allocations: 12.38 kB / 0.5601 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.01126, allocations: 257.2 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.01127, allocations: 192 / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.0113, allocations: 12.36 kB / 0.5604 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.01133, allocations: 16.16 kB / 0.5604 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01157, allocations: 148.7 kB / 0.5605 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01258, allocations: 0.7859 MB / 0.5613 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.01267, allocations: 38.5 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.01271, allocations: 24.94 kB / 0.5613 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.01272, allocations: 0 / 0.5613 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.01276, allocations: 30.56 kB / 0.5614 GB, free: 11.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.01276, allocations: 4 kB / 0.5614 GB, free: 11.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002023/0.01296, allocations: 77.56 kB / 0.5615 GB, free: 11.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.01301, allocations: 51.41 kB / 0.5615 GB, free: 11.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01315, allocations: 145.8 kB / 0.5616 GB, free: 11.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01317, allocations: 25.7 kB / 0.5617 GB, free: 11.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01327, allocations: 147.5 kB / 0.5618 GB, free: 10.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.0133, allocations: 23.83 kB / 0.5618 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.01336, allocations: 29.72 kB / 0.5619 GB, free: 10.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01351, allocations: 330.7 kB / 0.5622 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.01356, allocations: 24.84 kB / 0.5622 GB, free: 10.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01367, allocations: 92.81 kB / 0.5623 GB, free: 10.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.01383, allocations: 117.3 kB / 0.5624 GB, free: 10.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01383, allocations: 0 / 0.5624 GB, free: 10.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002069/0.01404, allocations: 137.4 kB / 0.5625 GB, free: 10.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.01406, allocations: 8 kB / 0.5625 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01407, allocations: 4.312 kB / 0.5625 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01408, allocations: 4 kB / 0.5625 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.0142, allocations: 27.92 kB / 0.5626 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.01421, allocations: 4 kB / 0.5626 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.01428, allocations: 7.953 kB / 0.5626 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01429, allocations: 11.94 kB / 0.5626 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001078/0.0144, allocations: 125.2 kB / 0.5627 GB, free: 9.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.72e-05/0.0145, allocations: 89.42 kB / 0.5628 GB, free: 9.848 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000138/0.01464, allocations: 129.5 kB / 0.5629 GB, free: 9.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.01464, allocations: 0 / 0.5629 GB, free: 9.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002062/0.01484, allocations: 141.5 kB / 0.5631 GB, free: 9.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.01485, allocations: 8 kB / 0.5631 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/0.01485, allocations: 0 / 0.5631 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-06/0.01486, allocations: 4 kB / 0.5631 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.01494, allocations: 23.98 kB / 0.5631 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01495, allocations: 7.938 kB / 0.5631 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.01501, allocations: 19.83 kB / 0.5631 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.01502, allocations: 4 kB / 0.5631 GB, free: 9.477 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0001139/0.01513, allocations: 192.1 kB / 0.5633 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.01516, allocations: 12.11 kB / 0.5633 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.0152, allocations: 20.27 kB / 0.5633 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.0152, allocations: 4 kB / 0.5633 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.0152, allocations: 0 / 0.5633 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.01521, allocations: 0 / 0.5633 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.01562, allocations: 400.8 kB / 0.5637 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01563, allocations: 4 kB / 0.5637 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.01566, allocations: 4 kB / 0.5637 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01566, allocations: 3.984 kB / 0.5637 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01567, allocations: 12.12 kB / 0.5637 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01568, allocations: 3.938 kB / 0.5637 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01568, allocations: 4 kB / 0.5637 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.01581, allocations: 103.6 kB / 0.5638 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.01585, allocations: 19.88 kB / 0.5639 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01586, allocations: 0 / 0.5639 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.0159, allocations: 7.938 kB / 0.5639 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.01591, allocations: 0 / 0.5639 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.01592, allocations: 4 kB / 0.5639 GB, free: 8.609 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.016, allocations: 112.9 kB / 0.564 GB, free: 8.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.016, allocations: 4 kB / 0.564 GB, free: 8.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000354/0.01635, allocations: 55.84 kB / 0.564 GB, free: 8.441 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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.0001083/0.01646, allocations: 99.19 kB / 0.5641 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.01668, allocations: 100.8 kB / 0.5642 GB, free: 8.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01668, allocations: 0 / 0.5642 GB, free: 8.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.01671, allocations: 28.17 kB / 0.5643 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.01697, allocations: 14.77 kB / 0.5643 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.01748, allocations: 268.5 kB / 0.5645 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.0176, allocations: 114.2 kB / 0.5646 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.01768, allocations: 24.72 kB / 0.5647 GB, free: 7.742 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.01771, allocations: 12.5 kB / 0.5647 GB, free: 7.73 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01771, allocations: 0 / 0.5647 GB, free: 7.73 MB / 478.1 MB Notification: Performance of Templates: time 0.003318/0.02102, allocations: 0.7853 MB / 0.5654 GB, free: 6.973 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0291848592460155] Failed to read output from testmodel.py, exit status != 0: 0.029531825333833694 0.043544154 0.031082329000000002 Calling exit ...