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.001447/0.001447, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.688/1.688, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.595/1.595, allocations: 251.7 MB / 0.5092 GB, free: 3.168 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.00205/0.00205, allocations: 71.91 kB / 0.6223 GB, free: 1.5 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.647, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004963/0.652, allocations: 2.512 MB / 0.727 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.6534, allocations: 0.7791 MB / 0.7277 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.6535, allocations: 4 kB / 0.7277 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.6548, allocations: 0.5808 MB / 0.7283 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.6551, allocations: 103.5 kB / 0.7284 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.6555, allocations: 111.7 kB / 0.7285 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.6558, allocations: 199.4 kB / 0.7287 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.6562, allocations: 158.1 kB / 0.7288 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.6563, allocations: 83.7 kB / 0.7289 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.6566, allocations: 91.66 kB / 0.729 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.6566, allocations: 16 kB / 0.729 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.6568, allocations: 111.8 kB / 0.7291 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.6569, allocations: 55.88 kB / 0.7292 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.657, allocations: 79.59 kB / 0.7293 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.6573, allocations: 217.2 kB / 0.7295 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.6573, allocations: 4 kB / 0.7295 GB, free: 7.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6573, allocations: 0 / 0.7295 GB, free: 7.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6573, allocations: 0 / 0.7295 GB, free: 7.836 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.000742/0.6581, allocations: 443.2 kB / 0.7299 GB, free: 7.355 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6581, allocations: 8.031 kB / 0.7299 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.6586, allocations: 52.8 kB / 0.7299 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.6589, allocations: 212.1 kB / 0.7301 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.6589, allocations: 12.66 kB / 0.7302 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.6589, allocations: 12.38 kB / 0.7302 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.6593, allocations: 227.2 kB / 0.7304 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6594, allocations: 7.984 kB / 0.7304 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.6594, allocations: 11.98 kB / 0.7304 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.6594, allocations: 16.27 kB / 0.7304 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.6597, allocations: 144.7 kB / 0.7306 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.6609, allocations: 1.126 MB / 0.7317 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.661, allocations: 38.56 kB / 0.7317 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.661, allocations: 20.94 kB / 0.7317 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.661, allocations: 4 kB / 0.7317 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.6611, allocations: 38.5 kB / 0.7318 GB, free: 5.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.6611, allocations: 0 / 0.7318 GB, free: 5.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002288/0.6613, allocations: 77.44 kB / 0.7318 GB, free: 5.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.6614, allocations: 55.39 kB / 0.7319 GB, free: 5.078 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.6615, allocations: 173.1 kB / 0.732 GB, free: 4.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.6616, allocations: 29.64 kB / 0.7321 GB, free: 4.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6617, allocations: 139.4 kB / 0.7322 GB, free: 4.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.6617, allocations: 19.81 kB / 0.7322 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.6617, allocations: 33.61 kB / 0.7323 GB, free: 4.668 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6619, allocations: 322.8 kB / 0.7326 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.6619, allocations: 24.84 kB / 0.7326 GB, free: 4.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.662, allocations: 96 kB / 0.7327 GB, free: 4.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.6622, allocations: 121.2 kB / 0.7328 GB, free: 4.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6622, allocations: 0 / 0.7328 GB, free: 4.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002024/0.6624, allocations: 137.4 kB / 0.7329 GB, free: 3.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6624, allocations: 8 kB / 0.7329 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6624, allocations: 0 / 0.7329 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.6625, allocations: 7.938 kB / 0.7329 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.6626, allocations: 27.92 kB / 0.733 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6626, allocations: 4 kB / 0.733 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.6627, allocations: 19.78 kB / 0.733 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.6627, allocations: 8 kB / 0.733 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001071/0.6628, allocations: 124.1 kB / 0.7331 GB, free: 3.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.119e-05/0.6629, allocations: 89.61 kB / 0.7332 GB, free: 3.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001386/0.6631, allocations: 125.2 kB / 0.7333 GB, free: 3.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.6631, allocations: 4 kB / 0.7333 GB, free: 3.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001784/0.6632, allocations: 133.6 kB / 0.7335 GB, free: 3.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.6633, allocations: 4 kB / 0.7335 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.6633, allocations: 4 kB / 0.7335 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.6633, allocations: 4 kB / 0.7335 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.6634, allocations: 31.92 kB / 0.7335 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6634, allocations: 8.25 kB / 0.7335 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.6634, allocations: 11.91 kB / 0.7335 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.6634, allocations: 8 kB / 0.7335 GB, free: 3.211 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 0.0001149/0.6636, allocations: 188.2 kB / 0.7337 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.6636, allocations: 11.84 kB / 0.7337 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.6636, allocations: 16.92 kB / 0.7337 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6636, allocations: 3.938 kB / 0.7337 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6637, allocations: 0 / 0.7337 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6637, allocations: 0 / 0.7337 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.6641, allocations: 480.9 kB / 0.7342 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6641, allocations: 4 kB / 0.7342 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.6642, allocations: 4 kB / 0.7342 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6642, allocations: 4 kB / 0.7342 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.6642, allocations: 0 / 0.7342 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6642, allocations: 0 / 0.7342 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6642, allocations: 8.125 kB / 0.7342 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.6643, allocations: 115.5 kB / 0.7343 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.6644, allocations: 89.02 kB / 0.7344 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.6644, allocations: 0 / 0.7344 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.6645, allocations: 7.984 kB / 0.7344 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.6645, allocations: 4 kB / 0.7344 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.6645, allocations: 4 kB / 0.7344 GB, free: 2.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001041/0.6646, allocations: 128.9 kB / 0.7345 GB, free: 2.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6646, allocations: 3.938 kB / 0.7345 GB, free: 2.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003298/0.6649, allocations: 51.84 kB / 0.7346 GB, free: 1.984 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.0001206/0.6651, allocations: 95.25 kB / 0.7347 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.6653, allocations: 115.6 kB / 0.7348 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6653, allocations: 4 kB / 0.7348 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.6653, allocations: 19.92 kB / 0.7348 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.6657, allocations: 33.19 kB / 0.7349 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.6662, allocations: 286.9 kB / 0.7351 GB, free: 1.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.6666, allocations: 0.7202 MB / 0.7358 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.91e-05/0.6667, allocations: 28.61 kB / 0.7359 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.6667, allocations: 15.44 kB / 0.7359 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6667, allocations: 0 / 0.7359 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of Templates: time 0.003658/0.6704, allocations: 0.8459 MB / 0.7367 GB, free: 15.77 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)