Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009069/0.0009069, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009675/0.0009675, allocations: 165 kB / 23.02 MB, free: 1.551 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.9383/0.9383, allocations: 177.1 MB / 203.4 MB, free: 5.184 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.002071/0.002071, allocations: 238.9 kB / 260.2 MB, free: 12.7 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.7149/0.7149, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.888e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002564/0.002583, allocations: 2.133 MB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.003416, allocations: 0.5256 MB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.003502, allocations: 7.938 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007585/0.00426, allocations: 422.8 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.004468, allocations: 95.5 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.004713, allocations: 111.6 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.004925, allocations: 195.4 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.005187, allocations: 130.2 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.005293, allocations: 111.8 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.005477, allocations: 95.73 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.005498, allocations: 12 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.005618, allocations: 83.73 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.005675, allocations: 59.81 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.005725, allocations: 51.91 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.005928, allocations: 159.4 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.00593, allocations: 4 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00593, allocations: 0 / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.005934, allocations: 0 / 0.5592 GB, free: 12.36 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004316/0.006366, allocations: 468.3 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006402, allocations: 12.75 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.006698, allocations: 76.69 kB / 0.5597 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.006876, allocations: 164.4 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.006888, allocations: 8.656 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.006908, allocations: 12.36 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.007131, allocations: 207.1 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.007146, allocations: 4.188 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.007161, allocations: 4.375 kB / 0.5601 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.00719, allocations: 24.22 kB / 0.5601 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.007287, allocations: 60.73 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.007977, allocations: 0.9951 MB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.842e-05/0.008035, allocations: 38.98 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.008058, allocations: 15.69 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.008072, allocations: 0 / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.008092, allocations: 33.39 kB / 0.5612 GB, free: 10.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.008094, allocations: 4 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001411/0.008235, allocations: 57.92 kB / 0.5613 GB, free: 10.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.008259, allocations: 51.41 kB / 0.5613 GB, free: 9.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.008373, allocations: 208.4 kB / 0.5615 GB, free: 9.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.008382, allocations: 25.7 kB / 0.5615 GB, free: 9.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.008454, allocations: 198.3 kB / 0.5617 GB, free: 9.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.008464, allocations: 15.84 kB / 0.5617 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.008509, allocations: 43.31 kB / 0.5618 GB, free: 9.434 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.008617, allocations: 0.4883 MB / 0.5623 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.008646, allocations: 23.67 kB / 0.5623 GB, free: 8.906 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.008708, allocations: 108.5 kB / 0.5624 GB, free: 8.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.008799, allocations: 140.4 kB / 0.5625 GB, free: 8.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.008802, allocations: 0 / 0.5625 GB, free: 8.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001208/0.008922, allocations: 117.4 kB / 0.5626 GB, free: 8.449 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008934, allocations: 8 kB / 0.5626 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.008939, allocations: 0 / 0.5626 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.008954, allocations: 4 kB / 0.5626 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.009029, allocations: 27.92 kB / 0.5627 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.009036, allocations: 4 kB / 0.5627 GB, free: 8.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.009076, allocations: 20.2 kB / 0.5627 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.009086, allocations: 15.94 kB / 0.5627 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.61e-05/0.009142, allocations: 142.9 kB / 0.5628 GB, free: 8.227 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.731e-05/0.0092, allocations: 118.8 kB / 0.563 GB, free: 8.066 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.982e-05/0.00928, allocations: 136.4 kB / 0.5631 GB, free: 7.887 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.00928, allocations: 0 / 0.5631 GB, free: 7.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001064/0.009387, allocations: 117.4 kB / 0.5632 GB, free: 7.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-06/0.009393, allocations: 7.125 kB / 0.5632 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.009395, allocations: 4 kB / 0.5632 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.0094, allocations: 8.312 kB / 0.5632 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.124e-05/0.009441, allocations: 27.92 kB / 0.5632 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.009444, allocations: 4 kB / 0.5632 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.009476, allocations: 11.94 kB / 0.5633 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.00948, allocations: 4 kB / 0.5633 GB, free: 7.703 MB / 490.7 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 8.06e-05/0.009561, allocations: 280 kB / 0.5635 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.009578, allocations: 7.953 kB / 0.5635 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.009603, allocations: 16.33 kB / 0.5636 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.009605, allocations: 0 / 0.5636 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.009608, allocations: 0 / 0.5636 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.009611, allocations: 4 kB / 0.5636 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.009884, allocations: 499.2 kB / 0.564 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009886, allocations: 0 / 0.564 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.009901, allocations: 8 kB / 0.564 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.009902, allocations: 0 / 0.564 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.009908, allocations: 4 kB / 0.564 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.009911, allocations: 7.922 kB / 0.564 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009912, allocations: 0 / 0.564 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.009988, allocations: 115.5 kB / 0.5642 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.01001, allocations: 15.95 kB / 0.5642 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.01002, allocations: 4 kB / 0.5642 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.01003, allocations: 3.938 kB / 0.5642 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.01005, allocations: 7.984 kB / 0.5642 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.01005, allocations: 0 / 0.5642 GB, free: 6.648 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.0101, allocations: 147.2 kB / 0.5643 GB, free: 6.504 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0101, allocations: 0 / 0.5643 GB, free: 6.504 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.01033, allocations: 59.78 kB / 0.5644 GB, free: 6.445 MB / 490.7 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 6.67e-05/0.0104, allocations: 99.19 kB / 0.5645 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.01054, allocations: 111.2 kB / 0.5646 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01054, allocations: 0 / 0.5646 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.01056, allocations: 21.05 kB / 0.5646 GB, free: 6.199 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.01073, allocations: 19.27 kB / 0.5646 GB, free: 6.184 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.01124, allocations: 278.2 kB / 0.5649 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01128, allocations: 75.83 kB / 0.565 GB, free: 5.773 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.129e-05/0.01133, allocations: 20.47 kB / 0.565 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.01137, allocations: 16.5 kB / 0.565 GB, free: 5.738 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01137, allocations: 0 / 0.565 GB, free: 5.738 MB / 490.7 MB Notification: Performance of Templates: time 0.002265/0.01363, allocations: 0.762 MB / 0.5657 GB, free: 4.996 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6826993469148874]