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.0008773/0.0008773, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009208/0.0009208, allocations: 169 kB / 23.02 MB, free: 1.543 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.9375/0.9375, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.00162/0.00162, allocations: 236.7 kB / 260.2 MB, free: 12.83 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.6744/0.6744, allocations: 138.4 MB / 455.2 MB, free: 1.496 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.733e-06/1.733e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.428e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002448/0.002473, allocations: 2.144 MB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.003252, allocations: 0.5257 MB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.00333, allocations: 3.938 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.003994, allocations: 410.8 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.004187, allocations: 107.5 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.004384, allocations: 107.7 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.004576, allocations: 203.4 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.004832, allocations: 130.1 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.004939, allocations: 115.8 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.005113, allocations: 87.75 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.005136, allocations: 16 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.005253, allocations: 83.72 kB / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.005304, allocations: 55.89 kB / 0.559 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.005354, allocations: 51.84 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.005547, allocations: 159.5 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.00555, allocations: 0 / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.005552, allocations: 7.938 kB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005556, allocations: 0 / 0.5592 GB, free: 12.31 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.000404/0.00596, allocations: 472.2 kB / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.005993, allocations: 8.75 kB / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.006286, allocations: 76.75 kB / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.006454, allocations: 160.3 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.006466, allocations: 12.66 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.006483, allocations: 12.38 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.006696, allocations: 203.1 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006704, allocations: 192 / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.006718, allocations: 8.375 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.006745, allocations: 20.2 kB / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/0.006834, allocations: 64.73 kB / 0.5602 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.007472, allocations: 0.9912 MB / 0.5611 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.00753, allocations: 46.98 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.007552, allocations: 11.78 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.007564, allocations: 3.984 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.007582, allocations: 33.39 kB / 0.5612 GB, free: 10.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.007583, allocations: 0 / 0.5612 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001354/0.007719, allocations: 65.64 kB / 0.5613 GB, free: 9.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.007741, allocations: 51.41 kB / 0.5613 GB, free: 9.895 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.007835, allocations: 204.4 kB / 0.5615 GB, free: 9.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.007844, allocations: 29.64 kB / 0.5616 GB, free: 9.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.007909, allocations: 190.3 kB / 0.5617 GB, free: 9.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.007923, allocations: 23.88 kB / 0.5618 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.007958, allocations: 35.33 kB / 0.5618 GB, free: 9.387 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.008074, allocations: 0.4961 MB / 0.5623 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.008098, allocations: 15.69 kB / 0.5623 GB, free: 8.859 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.008159, allocations: 120.5 kB / 0.5624 GB, free: 8.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.749e-05/0.008246, allocations: 124.4 kB / 0.5625 GB, free: 8.527 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008248, allocations: 4 kB / 0.5625 GB, free: 8.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001194/0.008367, allocations: 125.4 kB / 0.5626 GB, free: 8.395 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.008383, allocations: 10.81 kB / 0.5627 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.008388, allocations: 0 / 0.5627 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.008401, allocations: 4 kB / 0.5627 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.008475, allocations: 27.92 kB / 0.5627 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.008482, allocations: 8 kB / 0.5627 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.00852, allocations: 11.89 kB / 0.5627 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.00853, allocations: 16.25 kB / 0.5627 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.938e-05/0.008579, allocations: 138.9 kB / 0.5629 GB, free: 8.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.244e-05/0.008632, allocations: 124.2 kB / 0.563 GB, free: 8.016 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.505e-05/0.008707, allocations: 128.4 kB / 0.5631 GB, free: 7.844 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.008707, allocations: 0 / 0.5631 GB, free: 7.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000103/0.00881, allocations: 125.4 kB / 0.5632 GB, free: 7.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-06/0.008816, allocations: 4 kB / 0.5632 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.008819, allocations: 4 kB / 0.5632 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.008822, allocations: 4.312 kB / 0.5632 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-05/0.008864, allocations: 27.94 kB / 0.5633 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008867, allocations: 3.984 kB / 0.5633 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.008897, allocations: 11.94 kB / 0.5633 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.008902, allocations: 8 kB / 0.5633 GB, free: 7.652 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 9.064e-05/0.008993, allocations: 280 kB / 0.5635 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.009008, allocations: 7.953 kB / 0.5636 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.009029, allocations: 8.344 kB / 0.5636 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.009032, allocations: 4 kB / 0.5636 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.009034, allocations: 0 / 0.5636 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.009037, allocations: 288 / 0.5636 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.009293, allocations: 0.4914 MB / 0.564 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009294, allocations: 0 / 0.564 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.009311, allocations: 8 kB / 0.5641 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.009313, allocations: 7.922 kB / 0.5641 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.00932, allocations: 8 kB / 0.5641 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.009323, allocations: 3.938 kB / 0.5641 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.009324, allocations: 0 / 0.5641 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.148e-05/0.009396, allocations: 115.4 kB / 0.5642 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.009413, allocations: 12.06 kB / 0.5642 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.009427, allocations: 12 kB / 0.5642 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.009442, allocations: 3.938 kB / 0.5642 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.009456, allocations: 4 kB / 0.5642 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.009458, allocations: 0 / 0.5642 GB, free: 6.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.009507, allocations: 149.4 kB / 0.5644 GB, free: 6.449 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009507, allocations: 0 / 0.5644 GB, free: 6.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.009721, allocations: 59.78 kB / 0.5644 GB, free: 6.391 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.259e-05/0.009793, allocations: 99.25 kB / 0.5645 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.009932, allocations: 99.08 kB / 0.5646 GB, free: 6.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009933, allocations: 0 / 0.5646 GB, free: 6.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.009947, allocations: 23.62 kB / 0.5646 GB, free: 6.152 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.01013, allocations: 17.48 kB / 0.5646 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.01065, allocations: 278.2 kB / 0.5649 GB, free: 5.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/0.01069, allocations: 79.81 kB / 0.565 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.01074, allocations: 20.47 kB / 0.565 GB, free: 5.703 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.01077, allocations: 12.5 kB / 0.565 GB, free: 5.691 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01077, allocations: 4 kB / 0.565 GB, free: 5.688 MB / 490.7 MB Notification: Performance of Templates: time 0.002349/0.01312, allocations: 0.7923 MB / 0.5658 GB, free: 4.91 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.5398250352591276]