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.0007806/0.0007806, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007633/0.0007633, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.842/0.842, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 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.5323/0.5323, allocations: 114 MB / 374.7 MB, free: 8.719 MB / 346.7 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 1.352e-06/1.352e-06, allocations: 0 / 0.5554 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.499e-05, allocations: 4.812 kB / 0.5554 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002798/0.002823, allocations: 2.494 MB / 0.5578 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.003712, allocations: 0.7477 MB / 0.5586 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.003797, allocations: 4 kB / 0.5586 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.004647, allocations: 0.5413 MB / 0.5591 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.004823, allocations: 103.4 kB / 0.5592 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.005004, allocations: 111.7 kB / 0.5593 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.00521, allocations: 207.3 kB / 0.5595 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.005496, allocations: 134.1 kB / 0.5596 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.005601, allocations: 107.8 kB / 0.5597 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.005801, allocations: 95.73 kB / 0.5598 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.005821, allocations: 12 kB / 0.5598 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.005939, allocations: 103.7 kB / 0.5599 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.005993, allocations: 55.83 kB / 0.56 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.006039, allocations: 51.91 kB / 0.56 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.006264, allocations: 235.3 kB / 0.5603 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006267, allocations: 0 / 0.5603 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006268, allocations: 3.938 kB / 0.5603 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.006273, allocations: 0 / 0.5603 GB, free: 13.3 MB / 0.5261 GB 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.0004627/0.006735, allocations: 373.9 kB / 0.5606 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.006772, allocations: 8.625 kB / 0.5606 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.007004, allocations: 44.81 kB / 0.5607 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.00719, allocations: 161.6 kB / 0.5608 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.007205, allocations: 12.66 kB / 0.5608 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.007223, allocations: 12.38 kB / 0.5608 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.007499, allocations: 253.2 kB / 0.5611 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.007509, allocations: 192 / 0.5611 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.007524, allocations: 8.359 kB / 0.5611 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.00755, allocations: 24.2 kB / 0.5611 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.0077, allocations: 140.7 kB / 0.5612 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.008318, allocations: 0.7897 MB / 0.562 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.008387, allocations: 46.55 kB / 0.5621 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.008411, allocations: 12.86 kB / 0.5621 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.008421, allocations: 0 / 0.5621 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.008442, allocations: 38.56 kB / 0.5621 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.008443, allocations: 3.938 kB / 0.5621 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001498/0.008592, allocations: 73.72 kB / 0.5622 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.008626, allocations: 51.41 kB / 0.5622 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.008722, allocations: 152.3 kB / 0.5624 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.008733, allocations: 25.7 kB / 0.5624 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.0088, allocations: 147.5 kB / 0.5625 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.008811, allocations: 23.84 kB / 0.5626 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.008849, allocations: 29.72 kB / 0.5626 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.008933, allocations: 322.8 kB / 0.5629 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.008968, allocations: 24.84 kB / 0.5629 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.009024, allocations: 96.75 kB / 0.563 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.009119, allocations: 125.3 kB / 0.5631 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.009122, allocations: 4 kB / 0.5631 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001233/0.009245, allocations: 129.4 kB / 0.5633 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.009257, allocations: 12.31 kB / 0.5633 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009261, allocations: 4 kB / 0.5633 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.009273, allocations: 4 kB / 0.5633 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.009356, allocations: 27.98 kB / 0.5633 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009361, allocations: 3.938 kB / 0.5633 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.0094, allocations: 15.89 kB / 0.5633 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.009408, allocations: 7.938 kB / 0.5633 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.661e-05/0.009475, allocations: 124.1 kB / 0.5635 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.814e-05/0.009523, allocations: 85.44 kB / 0.5635 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.009e-05/0.009603, allocations: 125.2 kB / 0.5637 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/0.009604, allocations: 0 / 0.5637 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001137/0.009717, allocations: 133.4 kB / 0.5638 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-06/0.009722, allocations: 8 kB / 0.5638 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.009724, allocations: 0 / 0.5638 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.009726, allocations: 4 kB / 0.5638 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.009774, allocations: 27.92 kB / 0.5638 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.009776, allocations: 4 kB / 0.5638 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.009809, allocations: 15.89 kB / 0.5638 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.009813, allocations: 4 kB / 0.5638 GB, free: 9.262 MB / 0.5261 GB 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 7.26e-05/0.009885, allocations: 196.5 kB / 0.564 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.0099, allocations: 11.94 kB / 0.564 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.009924, allocations: 12.34 kB / 0.5641 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009925, allocations: 3.938 kB / 0.5641 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.009929, allocations: 3.938 kB / 0.5641 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009932, allocations: 288 / 0.5641 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.01021, allocations: 412.7 kB / 0.5645 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01021, allocations: 0 / 0.5645 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.01022, allocations: 4 kB / 0.5645 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01023, allocations: 12.11 kB / 0.5645 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01024, allocations: 0 / 0.5645 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01024, allocations: 3.938 kB / 0.5645 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.01024, allocations: 7.984 kB / 0.5645 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.897e-05/0.01032, allocations: 111.6 kB / 0.5646 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.01034, allocations: 15.89 kB / 0.5646 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.01035, allocations: 4 kB / 0.5646 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.71e-05/0.01037, allocations: 7.938 kB / 0.5646 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.01039, allocations: 3.984 kB / 0.5646 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.01039, allocations: 4 kB / 0.5646 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.01044, allocations: 107.3 kB / 0.5647 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01044, allocations: 0 / 0.5647 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000222/0.01066, allocations: 55.84 kB / 0.5648 GB, free: 8.211 MB / 0.5261 GB 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 7.354e-05/0.01073, allocations: 95.25 kB / 0.5649 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.01087, allocations: 104.8 kB / 0.565 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01087, allocations: 4.125 kB / 0.565 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.01089, allocations: 23.92 kB / 0.565 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.01107, allocations: 18.22 kB / 0.565 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.01142, allocations: 309 kB / 0.5653 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.176e-05/0.01149, allocations: 106.5 kB / 0.5654 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.01152, allocations: 20.48 kB / 0.5654 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/0.01152, allocations: 0 / 0.5654 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.001901/0.01342, allocations: 1.435 MB / 0.5668 GB, free: 6.055 MB / 0.5261 GB " [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.124035529792309] Failed to read output from testmodel.py, exit status != 0: 0.018232891336083412 0.025911062000000002 0.017953632 Calling exit ...