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.001338/0.001338, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001623/0.001623, allocations: 177 kB / 23.36 MB, free: 1.137 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.076/1.076, allocations: 177.2 MB / 203.8 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.001824/0.001824, allocations: 246.8 kB / 260.5 MB, free: 12.71 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.7098/0.7098, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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.403e-06/1.403e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.893e-05, allocations: 3.656 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.006305/0.006324, allocations: 2.191 MB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.007328, allocations: 0.5166 MB / 465 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.01045, allocations: 2.781 kB / 465 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.01133, allocations: 417.7 kB / 465.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.01159, allocations: 99.75 kB / 465.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.01189, allocations: 120.3 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.01217, allocations: 194.7 kB / 465.9 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.01242, allocations: 137 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.01258, allocations: 108.4 kB / 466.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.01281, allocations: 86.09 kB / 466.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.01283, allocations: 12.34 kB / 466.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.013, allocations: 83.09 kB / 466.3 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.01307, allocations: 64.53 kB / 466.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.01313, allocations: 53.38 kB / 466.4 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.01647, allocations: 161.2 kB / 466.5 MB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01647, allocations: 3.938 kB / 466.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01647, allocations: 0 / 466.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.01648, allocations: 0 / 466.5 MB, free: 14.41 MB / 426.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.0004996/0.01698, allocations: 339.7 kB / 466.9 MB, free: 14.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.01701, allocations: 13.44 kB / 466.9 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.01741, allocations: 66.06 kB / 467 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.01761, allocations: 155.8 kB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.01763, allocations: 12.66 kB / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.01765, allocations: 14.53 kB / 467.1 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.01788, allocations: 180.6 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01789, allocations: 0.9375 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.01791, allocations: 4.375 kB / 467.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.01794, allocations: 26.83 kB / 467.3 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.01802, allocations: 40.77 kB / 467.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.01872, allocations: 0.7093 MB / 468.1 MB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.01877, allocations: 22.58 kB / 468.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.01879, allocations: 14.31 kB / 468.1 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.0188, allocations: 0 / 468.1 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.01882, allocations: 38.5 kB / 468.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.01882, allocations: 1.531 kB / 468.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001202/0.01894, allocations: 46.53 kB / 468.2 MB, free: 12.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.01897, allocations: 51.41 kB / 468.3 MB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.01906, allocations: 153.3 kB / 468.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.01907, allocations: 31.39 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.01914, allocations: 143.5 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.01915, allocations: 19.89 kB / 468.6 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003051/0.0222, allocations: 25.7 kB / 468.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.02229, allocations: 326.8 kB / 468.9 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.02232, allocations: 13.86 kB / 469 MB, free: 11.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.02238, allocations: 81.36 kB / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.992e-05/0.02248, allocations: 107.7 kB / 469.1 MB, free: 11.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02248, allocations: 0 / 469.1 MB, free: 11.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001355/0.02261, allocations: 103.3 kB / 469.2 MB, free: 11.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.02263, allocations: 4 kB / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.02263, allocations: 5.844 kB / 469.3 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.02265, allocations: 7.938 kB / 469.3 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.02274, allocations: 27.92 kB / 469.3 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.02275, allocations: 4.703 kB / 469.3 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.02281, allocations: 12.77 kB / 469.3 MB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.02282, allocations: 8.625 kB / 469.3 MB, free: 11.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.551e-05/0.02288, allocations: 104.5 kB / 469.4 MB, free: 11.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.407e-05/0.02293, allocations: 80.19 kB / 469.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.049e-05/0.02301, allocations: 96.92 kB / 469.6 MB, free: 11.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.155e-06/0.02301, allocations: 4 kB / 469.6 MB, free: 11.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001245/0.02314, allocations: 99.02 kB / 469.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.02315, allocations: 8.969 kB / 469.7 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.02315, allocations: 4 kB / 469.7 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.02315, allocations: 0.6875 kB / 469.7 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.02322, allocations: 38.23 kB / 469.7 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.02322, allocations: 2.312 kB / 469.7 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.02327, allocations: 11.89 kB / 469.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.02328, allocations: 8 kB / 469.8 MB, free: 10.9 MB / 426.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 7.843e-05/0.02336, allocations: 192.1 kB / 470 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.02338, allocations: 7.984 kB / 470 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.02341, allocations: 9.125 kB / 470 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.02341, allocations: 0 / 470 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.02341, allocations: 0.5938 kB / 470 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.02341, allocations: 4 kB / 470 MB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.0237, allocations: 430.4 kB / 470.4 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.0237, allocations: 0 / 470.4 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.02373, allocations: 11.92 kB / 470.4 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02373, allocations: 5.156 kB / 470.4 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.02374, allocations: 0 / 470.4 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.02374, allocations: 0 / 470.4 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.02375, allocations: 8.438 kB / 470.4 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.02382, allocations: 88.94 kB / 470.5 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.02385, allocations: 12.73 kB / 470.5 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.02386, allocations: 8.656 kB / 470.5 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.02389, allocations: 4.75 kB / 470.5 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.0239, allocations: 9.938 kB / 470.5 MB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.02391, allocations: 4 kB / 470.5 MB, free: 10.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.02394, allocations: 26.89 kB / 470.6 MB, free: 10.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02394, allocations: 0 / 470.6 MB, free: 10.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.02422, allocations: 63.78 kB / 470.6 MB, free: 9.965 MB / 426.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 8.621e-05/0.02431, allocations: 81.16 kB / 470.7 MB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.02444, allocations: 94.14 kB / 470.8 MB, free: 9.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.02445, allocations: 0.75 kB / 470.8 MB, free: 9.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.02446, allocations: 17.67 kB / 470.8 MB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.02462, allocations: 18.39 kB / 470.8 MB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.02662, allocations: 277.9 kB / 471.1 MB, free: 9.438 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.02667, allocations: 75.83 kB / 471.2 MB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.02672, allocations: 17.02 kB / 471.2 MB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.02678, allocations: 59.38 kB / 471.3 MB, free: 9.273 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02678, allocations: 0 / 471.3 MB, free: 9.273 MB / 426.7 MB Notification: Performance of Templates: time 0.002416/0.02919, allocations: 0.8478 MB / 472.1 MB, free: 8.512 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5443034041672945]