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.001765/0.001765, allocations: 93.47 kB / 19.44 MB, free: 336 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.001946/0.001946, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.003285/0.003285, allocations: 254.9 kB / 259.8 MB, free: 12.85 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 1.181/1.181, allocations: 138.5 MB / 454.7 MB, free: 1.492 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.653e-06/1.653e-06, allocations: 0 / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.644e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004997/0.005024, allocations: 2.535 MB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.006567, allocations: 0.7751 MB / 0.5575 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.006657, allocations: 7.938 kB / 0.5576 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.008163, allocations: 0.553 MB / 0.5581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.008454, allocations: 115.4 kB / 0.5582 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.008759, allocations: 107.7 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.009057, allocations: 199.3 kB / 0.5585 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.009399, allocations: 130.2 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.009588, allocations: 119.7 kB / 0.5587 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.009836, allocations: 91.75 kB / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.009869, allocations: 12 kB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.01008, allocations: 107.6 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.01016, allocations: 51.89 kB / 0.559 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.01025, allocations: 55.84 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.01071, allocations: 227.4 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01072, allocations: 0 / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01072, allocations: 0 / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.01072, allocations: 0 / 0.5593 GB, free: 11.79 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.0006976/0.01142, allocations: 487.7 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.01146, allocations: 12.75 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.01191, allocations: 72.72 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.01219, allocations: 172.3 kB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.01221, allocations: 8.656 kB / 0.56 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.01224, allocations: 16.38 kB / 0.56 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.01261, allocations: 207.1 kB / 0.5602 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.01262, allocations: 4.125 kB / 0.5602 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.01264, allocations: 12.38 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.01268, allocations: 20.2 kB / 0.5602 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.01286, allocations: 72.73 kB / 0.5603 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01429, allocations: 1.019 MB / 0.5613 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.01438, allocations: 39.06 kB / 0.5613 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.01443, allocations: 15.69 kB / 0.5613 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.01445, allocations: 3.984 kB / 0.5613 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.01448, allocations: 37.48 kB / 0.5614 GB, free: 9.434 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.01448, allocations: 4 kB / 0.5614 GB, free: 9.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001933/0.01468, allocations: 65.58 kB / 0.5614 GB, free: 9.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.01473, allocations: 55.39 kB / 0.5615 GB, free: 9.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.01493, allocations: 220.4 kB / 0.5617 GB, free: 9.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.01495, allocations: 25.7 kB / 0.5617 GB, free: 9.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.0151, allocations: 202.3 kB / 0.5619 GB, free: 8.828 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.01512, allocations: 15.88 kB / 0.5619 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.01522, allocations: 39.38 kB / 0.562 GB, free: 8.766 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003349/0.01555, allocations: 0.4961 MB / 0.5625 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.01561, allocations: 19.69 kB / 0.5625 GB, free: 8.234 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.01576, allocations: 128.4 kB / 0.5626 GB, free: 8.062 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.01595, allocations: 144.4 kB / 0.5627 GB, free: 7.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01595, allocations: 0 / 0.5627 GB, free: 7.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003333/0.01629, allocations: 125.4 kB / 0.5629 GB, free: 7.746 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.01631, allocations: 11.98 kB / 0.5629 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01632, allocations: 0 / 0.5629 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.01634, allocations: 4 kB / 0.5629 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.01675, allocations: 23.94 kB / 0.5629 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.01677, allocations: 15.97 kB / 0.5629 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.01689, allocations: 20.2 kB / 0.5629 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.01691, allocations: 11.94 kB / 0.5629 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000161/0.01707, allocations: 142.9 kB / 0.5631 GB, free: 7.516 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001421/0.01722, allocations: 112.5 kB / 0.5632 GB, free: 7.359 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001859/0.0174, allocations: 148.4 kB / 0.5633 GB, free: 7.168 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.0174, allocations: 0 / 0.5633 GB, free: 7.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002031/0.01761, allocations: 121.4 kB / 0.5634 GB, free: 7.043 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01762, allocations: 8 kB / 0.5635 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01762, allocations: 4.312 kB / 0.5635 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.01762, allocations: 4 kB / 0.5635 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.01771, allocations: 23.98 kB / 0.5635 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.01772, allocations: 7.938 kB / 0.5635 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01783, allocations: 15.89 kB / 0.5635 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01785, allocations: 8 kB / 0.5635 GB, free: 6.973 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.0002334/0.01808, allocations: 280 kB / 0.5638 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.01814, allocations: 7.953 kB / 0.5638 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.01819, allocations: 8.344 kB / 0.5638 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01819, allocations: 4 kB / 0.5638 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.0182, allocations: 0 / 0.5638 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0182, allocations: 7.938 kB / 0.5638 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.01899, allocations: 0.5032 MB / 0.5643 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01899, allocations: 0 / 0.5643 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.01904, allocations: 8 kB / 0.5643 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01905, allocations: 3.938 kB / 0.5643 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01906, allocations: 4 kB / 0.5643 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.01907, allocations: 7.938 kB / 0.5643 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01907, allocations: 3.938 kB / 0.5643 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.01931, allocations: 123.8 kB / 0.5644 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.01935, allocations: 11.95 kB / 0.5645 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.01938, allocations: 3.984 kB / 0.5645 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.01943, allocations: 3.938 kB / 0.5645 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.01946, allocations: 4 kB / 0.5645 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.01947, allocations: 3.938 kB / 0.5645 GB, free: 5.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.01963, allocations: 165.5 kB / 0.5646 GB, free: 5.727 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01963, allocations: 0 / 0.5646 GB, free: 5.727 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.02026, allocations: 59.78 kB / 0.5647 GB, free: 5.668 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 0.0001467/0.0204, allocations: 99.25 kB / 0.5648 GB, free: 5.562 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.02073, allocations: 111.1 kB / 0.5649 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02074, allocations: 0 / 0.5649 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.02078, allocations: 21 kB / 0.5649 GB, free: 5.422 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.02122, allocations: 23.48 kB / 0.5649 GB, free: 5.406 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.02204, allocations: 278.3 kB / 0.5652 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.02222, allocations: 106.2 kB / 0.5653 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.02235, allocations: 24.47 kB / 0.5653 GB, free: 4.949 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.02239, allocations: 12.5 kB / 0.5653 GB, free: 4.938 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02239, allocations: 0 / 0.5653 GB, free: 4.938 MB / 490.7 MB Notification: Performance of Templates: time 0.005367/0.02776, allocations: 0.7556 MB / 0.5661 GB, free: 4.199 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: 5.844698008033447]