Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, 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.00212/0.00212, allocations: 194.1 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.792/1.792, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.698/1.698, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001591/0.001591, allocations: 71.89 kB / 0.6223 GB, free: 1.539 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6562, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005952/0.6623, allocations: 3.074 MB / 0.7275 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.6655, allocations: 1.73 MB / 0.7292 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.6657, allocations: 8 kB / 0.7292 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.6668, allocations: 334.7 kB / 0.7295 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005956/0.6675, allocations: 203.1 kB / 0.7297 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.668, allocations: 187.5 kB / 0.7299 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.6684, allocations: 323 kB / 0.7302 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.6689, allocations: 238.7 kB / 0.7305 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.6691, allocations: 139.5 kB / 0.7306 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.6695, allocations: 155.5 kB / 0.7307 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.6695, allocations: 24 kB / 0.7308 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.67, allocations: 243.5 kB / 0.731 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.6702, allocations: 107.8 kB / 0.7311 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.6703, allocations: 119.5 kB / 0.7312 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.671, allocations: 422.7 kB / 0.7316 GB, free: 5.676 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.671, allocations: 0 / 0.7316 GB, free: 5.676 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.671, allocations: 4 kB / 0.7316 GB, free: 5.672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.6711, allocations: 0 / 0.7316 GB, free: 5.672 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001309/0.6724, allocations: 0.5459 MB / 0.7321 GB, free: 5.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6724, allocations: 8.031 kB / 0.7322 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.6733, allocations: 92.55 kB / 0.7322 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.6737, allocations: 259.8 kB / 0.7325 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.6738, allocations: 16.81 kB / 0.7325 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6739, allocations: 28.55 kB / 0.7325 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.6745, allocations: 373.2 kB / 0.7329 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.6746, allocations: 3.938 kB / 0.7329 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.6746, allocations: 15.98 kB / 0.7329 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.6747, allocations: 24.42 kB / 0.7329 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.6752, allocations: 309.5 kB / 0.7332 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.6773, allocations: 1.529 MB / 0.7347 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.6778, allocations: 230.4 kB / 0.7349 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.678, allocations: 116.8 kB / 0.735 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.6782, allocations: 93.08 kB / 0.7351 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.6782, allocations: 34.56 kB / 0.7352 GB, free: 1.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.6782, allocations: 0 / 0.7352 GB, free: 1.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001424/0.6797, allocations: 0.7884 MB / 0.7359 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.6797, allocations: 51.41 kB / 0.736 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.68, allocations: 203.1 kB / 0.7362 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.68, allocations: 25.7 kB / 0.7362 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6801, allocations: 163.8 kB / 0.7364 GB, free: 432 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.6802, allocations: 67 kB / 0.7364 GB, free: 364 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.6803, allocations: 61.64 kB / 0.7365 GB, free: 296 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6805, allocations: 330.7 kB / 0.7368 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.6807, allocations: 115.9 kB / 0.7369 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.6809, allocations: 169.9 kB / 0.7371 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.6813, allocations: 286.7 kB / 0.7373 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6813, allocations: 4 kB / 0.7374 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007992/0.6821, allocations: 418.9 kB / 0.7378 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.6822, allocations: 6.5 kB / 0.7378 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6822, allocations: 4 kB / 0.7378 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.6827, allocations: 104.9 kB / 0.7379 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.6829, allocations: 47.97 kB / 0.7379 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.6852, allocations: 1.883 MB / 0.7397 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.6854, allocations: 27.86 kB / 0.7398 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.6855, allocations: 8 kB / 0.7398 GB, free: 12.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.6857, allocations: 149.8 kB / 0.7399 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.6858, allocations: 15.81 kB / 0.7399 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/0.6863, allocations: 305.9 kB / 0.7402 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6863, allocations: 7.938 kB / 0.7402 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.6863, allocations: 0 / 0.7402 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6863, allocations: 7.922 kB / 0.7402 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.6874, allocations: 0.6991 MB / 0.7409 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6874, allocations: 0 / 0.7409 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.6877, allocations: 59.95 kB / 0.741 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6877, allocations: 4 kB / 0.741 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.6877, allocations: 11.94 kB / 0.741 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6877, allocations: 0 / 0.741 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6877, allocations: 0 / 0.741 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.6884, allocations: 0.5187 MB / 0.7415 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.6885, allocations: 116.9 kB / 0.7416 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.6886, allocations: 4 kB / 0.7416 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.6888, allocations: 15.98 kB / 0.7416 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6888, allocations: 11.97 kB / 0.7416 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.6888, allocations: 12 kB / 0.7417 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001466/0.689, allocations: 144 kB / 0.7418 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.689, allocations: 0 / 0.7418 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003655/0.6894, allocations: 68 kB / 0.7419 GB, free: 10.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.000193/0.6896, allocations: 107.2 kB / 0.742 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008295/0.6904, allocations: 449.1 kB / 0.7424 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6904, allocations: 0 / 0.7424 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.6906, allocations: 124.2 kB / 0.7425 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.691, allocations: 43.98 kB / 0.7426 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.6924, allocations: 0.6331 MB / 0.7432 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.6929, allocations: 0.7713 MB / 0.7439 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.6931, allocations: 57.91 kB / 0.744 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.6932, allocations: 19.44 kB / 0.744 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.6932, allocations: 4 kB / 0.744 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.007122/0.7003, allocations: 2.785 MB / 0.7467 GB, free: 5.426 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)