Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 193.5 kB / 16.13 MB, free: 6.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, allocations: 251.7 MB / 0.5088 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 71.91 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6069, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004765/0.6117, allocations: 2.55 MB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.6131, allocations: 0.7869 MB / 0.7271 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.6132, allocations: 3.938 kB / 0.7271 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.6145, allocations: 0.5616 MB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.6148, allocations: 95.67 kB / 0.7277 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.6151, allocations: 102.4 kB / 0.7278 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.6154, allocations: 299.2 kB / 0.7281 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.6157, allocations: 110.1 kB / 0.7282 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.6158, allocations: 67.77 kB / 0.7283 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.616, allocations: 95.66 kB / 0.7284 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.6161, allocations: 8 kB / 0.7284 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.6163, allocations: 147.7 kB / 0.7285 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.6164, allocations: 51.81 kB / 0.7286 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.6165, allocations: 63.67 kB / 0.7286 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.6168, allocations: 233.2 kB / 0.7288 GB, free: 7.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6168, allocations: 0 / 0.7288 GB, free: 7.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6168, allocations: 0 / 0.7288 GB, free: 7.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6168, allocations: 0 / 0.7288 GB, free: 7.949 MB / 0.545 GB 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.0007067/0.6175, allocations: 451.2 kB / 0.7293 GB, free: 7.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6176, allocations: 8.031 kB / 0.7293 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.6179, allocations: 44.8 kB / 0.7293 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.6182, allocations: 212.1 kB / 0.7295 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6182, allocations: 8.656 kB / 0.7295 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.6182, allocations: 20.36 kB / 0.7295 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.6186, allocations: 231.2 kB / 0.7298 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6186, allocations: 0 / 0.7298 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.6187, allocations: 4 kB / 0.7298 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.6187, allocations: 20.27 kB / 0.7298 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.6189, allocations: 144.7 kB / 0.7299 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.62, allocations: 1.13 MB / 0.731 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.6201, allocations: 42.44 kB / 0.7311 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.6201, allocations: 24.94 kB / 0.7311 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.6201, allocations: 0 / 0.7311 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.6202, allocations: 38.5 kB / 0.7311 GB, free: 5.336 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.6202, allocations: 0 / 0.7311 GB, free: 5.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.6204, allocations: 81.44 kB / 0.7312 GB, free: 5.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6204, allocations: 55.34 kB / 0.7313 GB, free: 5.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.6206, allocations: 175.7 kB / 0.7314 GB, free: 5.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6206, allocations: 25.7 kB / 0.7315 GB, free: 4.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.6207, allocations: 147.4 kB / 0.7316 GB, free: 4.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.6207, allocations: 11.81 kB / 0.7316 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.6208, allocations: 37.61 kB / 0.7316 GB, free: 4.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.6209, allocations: 318.8 kB / 0.7319 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.6209, allocations: 24.86 kB / 0.732 GB, free: 4.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.621, allocations: 93.42 kB / 0.7321 GB, free: 4.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.6211, allocations: 125.2 kB / 0.7322 GB, free: 4.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6211, allocations: 4 kB / 0.7322 GB, free: 4.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001933/0.6213, allocations: 129.6 kB / 0.7323 GB, free: 4.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6214, allocations: 4 kB / 0.7323 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6214, allocations: 4.359 kB / 0.7323 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.6214, allocations: 15.92 kB / 0.7323 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.6215, allocations: 31.92 kB / 0.7324 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.6216, allocations: 0 / 0.7324 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.6216, allocations: 19.78 kB / 0.7324 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.6216, allocations: 4 kB / 0.7324 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001085/0.6218, allocations: 124.1 kB / 0.7325 GB, free: 3.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.468e-05/0.6219, allocations: 93.38 kB / 0.7326 GB, free: 3.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001141/0.622, allocations: 121.3 kB / 0.7327 GB, free: 3.523 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.622, allocations: 0 / 0.7327 GB, free: 3.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001737/0.6222, allocations: 137.4 kB / 0.7328 GB, free: 3.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/0.6222, allocations: 11.94 kB / 0.7328 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.6222, allocations: 0 / 0.7328 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.6222, allocations: 4 kB / 0.7329 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.6223, allocations: 23.94 kB / 0.7329 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.6223, allocations: 11.92 kB / 0.7329 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.6223, allocations: 11.91 kB / 0.7329 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.6224, allocations: 4 kB / 0.7329 GB, free: 3.316 MB / 0.545 GB 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.815e-05/0.6225, allocations: 188.5 kB / 0.7331 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.6225, allocations: 7.906 kB / 0.7331 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.6225, allocations: 16.88 kB / 0.7331 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6225, allocations: 3.938 kB / 0.7331 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6226, allocations: 7.984 kB / 0.7331 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6226, allocations: 0 / 0.7331 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.623, allocations: 477 kB / 0.7336 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.623, allocations: 0 / 0.7336 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.623, allocations: 11.94 kB / 0.7336 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.623, allocations: 0 / 0.7336 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.6231, allocations: 0 / 0.7336 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6231, allocations: 7.938 kB / 0.7336 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6231, allocations: 0 / 0.7336 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.6232, allocations: 115.7 kB / 0.7337 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.6233, allocations: 89.02 kB / 0.7338 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.6233, allocations: 4 kB / 0.7338 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.6233, allocations: 0 / 0.7338 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.6234, allocations: 7.922 kB / 0.7338 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.6234, allocations: 4 kB / 0.7338 GB, free: 2.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001051/0.6235, allocations: 128 kB / 0.7339 GB, free: 2.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6235, allocations: 0 / 0.7339 GB, free: 2.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003356/0.6238, allocations: 55.84 kB / 0.734 GB, free: 2.09 MB / 0.545 GB 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.0001115/0.624, allocations: 95.25 kB / 0.7341 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.6242, allocations: 112.8 kB / 0.7342 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6242, allocations: 4.125 kB / 0.7342 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.6242, allocations: 15.98 kB / 0.7342 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.6245, allocations: 19.98 kB / 0.7342 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.625, allocations: 323.3 kB / 0.7345 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.6253, allocations: 0.728 MB / 0.7352 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.6254, allocations: 24.61 kB / 0.7353 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.6255, allocations: 15.44 kB / 0.7353 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6255, allocations: 0 / 0.7353 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of Templates: time 0.003299/0.6288, allocations: 0.8149 MB / 0.7361 GB, free: 15.88 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)