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.0008981/0.0008981, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009361/0.0009361, allocations: 177 kB / 23.5 MB, free: 1.055 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.9793/0.9793, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.001654/0.001654, allocations: 233.1 kB / 260.5 MB, free: 12.88 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.7078/0.7078, allocations: 138.4 MB / 455.4 MB, free: 1.523 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.513e-06/1.513e-06, allocations: 0 / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.512e-05, allocations: 10.25 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00422/0.004245, allocations: 2.576 MB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005661, allocations: 0.7829 MB / 0.5583 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.00578, allocations: 7.938 kB / 0.5583 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.007041, allocations: 0.5491 MB / 0.5588 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.007314, allocations: 119.3 kB / 0.559 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.007617, allocations: 107.7 kB / 0.5591 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.007913, allocations: 199.3 kB / 0.5593 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.008281, allocations: 134.1 kB / 0.5594 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.008455, allocations: 115.8 kB / 0.5595 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.008698, allocations: 87.75 kB / 0.5596 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.008726, allocations: 12 kB / 0.5596 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.008925, allocations: 107.7 kB / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.009003, allocations: 59.83 kB / 0.5597 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.009077, allocations: 51.91 kB / 0.5598 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.009394, allocations: 171.4 kB / 0.56 GB, free: 11.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.009398, allocations: 0 / 0.56 GB, free: 11.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009399, allocations: 0 / 0.56 GB, free: 11.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.009405, allocations: 0 / 0.56 GB, free: 11.81 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.000541/0.009946, allocations: 476.2 kB / 0.5604 GB, free: 11.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.009987, allocations: 8.75 kB / 0.5604 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.01045, allocations: 80.73 kB / 0.5605 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.01069, allocations: 164.3 kB / 0.5607 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.01071, allocations: 12.66 kB / 0.5607 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.01073, allocations: 12.38 kB / 0.5607 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.01105, allocations: 203.1 kB / 0.5609 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01106, allocations: 192 / 0.5609 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.01109, allocations: 8.375 kB / 0.5609 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.01113, allocations: 16.2 kB / 0.5609 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.0113, allocations: 64.75 kB / 0.561 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.01224, allocations: 0.9912 MB / 0.5619 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.01231, allocations: 35.05 kB / 0.562 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.01234, allocations: 15.69 kB / 0.562 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.01235, allocations: 0 / 0.562 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01238, allocations: 41.33 kB / 0.562 GB, free: 9.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.01238, allocations: 3.938 kB / 0.562 GB, free: 9.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.000168/0.01255, allocations: 53.73 kB / 0.5621 GB, free: 9.461 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.01257, allocations: 51.41 kB / 0.5621 GB, free: 9.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.0127, allocations: 216.2 kB / 0.5623 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01272, allocations: 29.7 kB / 0.5624 GB, free: 9.137 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.01281, allocations: 190.3 kB / 0.5625 GB, free: 8.945 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.01283, allocations: 11.91 kB / 0.5625 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.01288, allocations: 43.31 kB / 0.5626 GB, free: 8.883 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01303, allocations: 0.4961 MB / 0.5631 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.01308, allocations: 15.69 kB / 0.5631 GB, free: 8.355 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.01316, allocations: 108.5 kB / 0.5632 GB, free: 8.203 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.0133, allocations: 136.4 kB / 0.5633 GB, free: 8.023 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.0133, allocations: 0 / 0.5633 GB, free: 8.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001912/0.01349, allocations: 121.4 kB / 0.5634 GB, free: 7.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.0135, allocations: 4 kB / 0.5634 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01351, allocations: 4 kB / 0.5634 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.01353, allocations: 7.984 kB / 0.5634 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01365, allocations: 27.94 kB / 0.5635 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01366, allocations: 4 kB / 0.5635 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.01373, allocations: 11.89 kB / 0.5635 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.01374, allocations: 11.92 kB / 0.5635 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.093e-05/0.01382, allocations: 139.1 kB / 0.5636 GB, free: 7.688 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.372e-05/0.01391, allocations: 124.4 kB / 0.5638 GB, free: 7.523 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001237/0.01404, allocations: 132.7 kB / 0.5639 GB, free: 7.348 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.01404, allocations: 4 kB / 0.5639 GB, free: 7.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001793/0.01422, allocations: 117.4 kB / 0.564 GB, free: 7.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.01423, allocations: 8 kB / 0.564 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.01423, allocations: 0 / 0.564 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.01424, allocations: 4 kB / 0.564 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.01431, allocations: 31.92 kB / 0.564 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01432, allocations: 8.25 kB / 0.564 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.01438, allocations: 15.94 kB / 0.5641 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.01439, allocations: 8 kB / 0.5641 GB, free: 7.148 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 0.0001092/0.0145, allocations: 276 kB / 0.5643 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.01453, allocations: 15.94 kB / 0.5643 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.01456, allocations: 8.344 kB / 0.5644 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01456, allocations: 0 / 0.5644 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01456, allocations: 0 / 0.5644 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01457, allocations: 4 kB / 0.5644 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.01497, allocations: 0.4915 MB / 0.5648 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01498, allocations: 0 / 0.5648 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.01501, allocations: 11.92 kB / 0.5648 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01501, allocations: 4 kB / 0.5649 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01502, allocations: 0 / 0.5649 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.01502, allocations: 7.938 kB / 0.5649 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01502, allocations: 0 / 0.5649 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.01512, allocations: 115.5 kB / 0.565 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.01514, allocations: 7.953 kB / 0.565 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.01515, allocations: 7.922 kB / 0.565 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.01518, allocations: 12.03 kB / 0.565 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.0152, allocations: 0 / 0.565 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.0152, allocations: 8 kB / 0.565 GB, free: 6.086 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.012e-05/0.01527, allocations: 139.2 kB / 0.5651 GB, free: 5.949 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01527, allocations: 0 / 0.5651 GB, free: 5.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.0157, allocations: 63.78 kB / 0.5652 GB, free: 5.887 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 9.611e-05/0.0158, allocations: 95.23 kB / 0.5653 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.01599, allocations: 107.6 kB / 0.5654 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.016, allocations: 0 / 0.5654 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.01602, allocations: 19.62 kB / 0.5654 GB, free: 5.648 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01629, allocations: 15.98 kB / 0.5654 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/0.017, allocations: 279.2 kB / 0.5657 GB, free: 5.316 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.525e-05/0.01706, allocations: 75.83 kB / 0.5658 GB, free: 5.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.01714, allocations: 24.45 kB / 0.5658 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.01717, allocations: 16.44 kB / 0.5658 GB, free: 5.184 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01717, allocations: 0 / 0.5658 GB, free: 5.184 MB / 490.7 MB Notification: Performance of Templates: time 0.002513/0.01969, allocations: 0.7638 MB / 0.5665 GB, free: 4.434 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.512916337000206]