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.00116/0.00116, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001285/0.001285, allocations: 173 kB / 23.27 MB, free: 1.223 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.9714/0.9714, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.001685/0.001685, allocations: 249.6 kB / 260.5 MB, free: 12.64 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.7232/0.7232, allocations: 138.4 MB / 455.5 MB, free: 30.05 MB / 410.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.392e-06/1.392e-06, allocations: 0 / 0.5555 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.352e-05, allocations: 6.25 kB / 0.5556 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00272/0.002743, allocations: 2.133 MB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.003535, allocations: 0.514 MB / 0.5581 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.003621, allocations: 7.938 kB / 0.5581 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.004297, allocations: 414.9 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.004495, allocations: 95.48 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.004728, allocations: 111.5 kB / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.004924, allocations: 199.4 kB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.005143, allocations: 134 kB / 0.5591 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.00525, allocations: 111.8 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.005421, allocations: 99.73 kB / 0.5593 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.005441, allocations: 12 kB / 0.5593 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.005559, allocations: 79.73 kB / 0.5593 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.005607, allocations: 59.83 kB / 0.5594 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.005649, allocations: 51.89 kB / 0.5595 GB, free: 11.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.005839, allocations: 159.5 kB / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.005841, allocations: 0 / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.005842, allocations: 0 / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005846, allocations: 0 / 0.5596 GB, free: 11.75 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.0004012/0.006247, allocations: 468.2 kB / 0.5601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.006282, allocations: 13.94 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.00654, allocations: 68.73 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.006705, allocations: 160.3 kB / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.006716, allocations: 8.656 kB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.006734, allocations: 16.38 kB / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.006915, allocations: 187.2 kB / 0.5605 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.006923, allocations: 4.125 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.006935, allocations: 12.36 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.006962, allocations: 32.19 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.007023, allocations: 48.73 kB / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.007603, allocations: 0.995 MB / 0.5616 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.007646, allocations: 31.06 kB / 0.5616 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.007664, allocations: 15.77 kB / 0.5616 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.007673, allocations: 0 / 0.5616 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.007692, allocations: 41.39 kB / 0.5616 GB, free: 9.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.007693, allocations: 4 kB / 0.5616 GB, free: 9.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001022/0.007795, allocations: 53.58 kB / 0.5617 GB, free: 9.434 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.007822, allocations: 51.41 kB / 0.5617 GB, free: 9.371 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.007913, allocations: 213 kB / 0.5619 GB, free: 9.148 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.007922, allocations: 25.7 kB / 0.562 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.00799, allocations: 194.3 kB / 0.5622 GB, free: 8.922 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.008, allocations: 15.89 kB / 0.5622 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.008035, allocations: 39.31 kB / 0.5622 GB, free: 8.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.008144, allocations: 0.4961 MB / 0.5627 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.008166, allocations: 19.67 kB / 0.5627 GB, free: 8.328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.008223, allocations: 108.5 kB / 0.5628 GB, free: 8.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.008318, allocations: 128.4 kB / 0.5629 GB, free: 8.004 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00832, allocations: 0 / 0.5629 GB, free: 8.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001097/0.008429, allocations: 117.4 kB / 0.563 GB, free: 7.883 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.008441, allocations: 8 kB / 0.5631 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.008447, allocations: 4 kB / 0.5631 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.008456, allocations: 4 kB / 0.5631 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.008523, allocations: 23.94 kB / 0.5631 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.008527, allocations: 3.984 kB / 0.5631 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.008567, allocations: 24.2 kB / 0.5631 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.008573, allocations: 7.938 kB / 0.5631 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.001e-05/0.008623, allocations: 134.9 kB / 0.5632 GB, free: 7.672 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.965e-05/0.008673, allocations: 108.5 kB / 0.5634 GB, free: 7.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.687e-05/0.00875, allocations: 132.3 kB / 0.5635 GB, free: 7.344 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.674e-06/0.008751, allocations: 7.938 kB / 0.5635 GB, free: 7.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000101/0.008852, allocations: 109.4 kB / 0.5636 GB, free: 7.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.008859, allocations: 8 kB / 0.5636 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-06/0.008861, allocations: 320 / 0.5636 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.008863, allocations: 8 kB / 0.5636 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.008907, allocations: 23.98 kB / 0.5636 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008912, allocations: 11.92 kB / 0.5636 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.008944, allocations: 16.22 kB / 0.5637 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.008948, allocations: 4 kB / 0.5637 GB, free: 7.152 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.498e-05/0.009033, allocations: 280 kB / 0.5639 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.009049, allocations: 7.953 kB / 0.5639 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.009073, allocations: 16.33 kB / 0.5639 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009075, allocations: 3.938 kB / 0.564 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.009077, allocations: 0 / 0.564 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.00908, allocations: 4 kB / 0.564 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.00932, allocations: 467.8 kB / 0.5644 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009321, allocations: 0 / 0.5644 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.009338, allocations: 11.98 kB / 0.5644 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009339, allocations: 0 / 0.5644 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.009343, allocations: 0 / 0.5644 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.009346, allocations: 7.938 kB / 0.5644 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.009349, allocations: 3.938 kB / 0.5644 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.009418, allocations: 115.6 kB / 0.5645 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.009433, allocations: 7.953 kB / 0.5645 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.009442, allocations: 0 / 0.5645 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.009459, allocations: 4 kB / 0.5645 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.009473, allocations: 15.86 kB / 0.5646 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.009476, allocations: 4 kB / 0.5646 GB, free: 6.129 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.009524, allocations: 139.2 kB / 0.5647 GB, free: 5.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009524, allocations: 0 / 0.5647 GB, free: 5.992 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.009745, allocations: 59.78 kB / 0.5648 GB, free: 5.934 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 7.858e-05/0.009823, allocations: 99.23 kB / 0.5649 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.009936, allocations: 99.08 kB / 0.5649 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009938, allocations: 0 / 0.5649 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.00995, allocations: 24.92 kB / 0.565 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.01011, allocations: 19.88 kB / 0.565 GB, free: 5.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01056, allocations: 274.4 kB / 0.5652 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.0106, allocations: 79.83 kB / 0.5653 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.01064, allocations: 12.48 kB / 0.5653 GB, free: 5.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.01069, allocations: 82.19 kB / 0.5654 GB, free: 5.18 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01069, allocations: 0 / 0.5654 GB, free: 5.18 MB / 490.7 MB Notification: Performance of Templates: time 0.002308/0.013, allocations: 0.8503 MB / 0.5662 GB, free: 4.352 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.500958108343184]