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.0009125/0.0009126, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001259/0.001259, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 222.1 MB, free: 5.742 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.703/1.703, allocations: 252 MB / 0.5102 GB, free: 4.82 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.0005239/0.0005241, allocations: 20 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.5674, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003413/0.5709, allocations: 2.668 MB / 0.7307 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.5734, allocations: 1.606 MB / 0.7323 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.5735, allocations: 4 kB / 0.7323 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.5737, allocations: 43.7 kB / 0.7324 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.5742, allocations: 155.3 kB / 0.7325 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.5746, allocations: 151.5 kB / 0.7326 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.575, allocations: 366.9 kB / 0.733 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009/0.5759, allocations: 0.4905 MB / 0.7335 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.5761, allocations: 115.6 kB / 0.7336 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.5764, allocations: 147.5 kB / 0.7337 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.5764, allocations: 12 kB / 0.7337 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.5768, allocations: 135.8 kB / 0.7339 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.5769, allocations: 87.77 kB / 0.7339 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.5769, allocations: 65.58 kB / 0.734 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.5773, allocations: 321.1 kB / 0.7343 GB, free: 4.992 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5773, allocations: 4 kB / 0.7343 GB, free: 4.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5773, allocations: 0 / 0.7343 GB, free: 4.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5773, allocations: 0 / 0.7343 GB, free: 4.988 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.0008116/0.5782, allocations: 0.499 MB / 0.7348 GB, free: 4.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5782, allocations: 8.031 kB / 0.7348 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.5789, allocations: 95.56 kB / 0.7349 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.5792, allocations: 254.6 kB / 0.7351 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.5793, allocations: 16.44 kB / 0.7352 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.5794, allocations: 31.89 kB / 0.7352 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.5799, allocations: 372.9 kB / 0.7356 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5799, allocations: 3.984 kB / 0.7356 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.58, allocations: 11.95 kB / 0.7356 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-05/0.5801, allocations: 24.42 kB / 0.7356 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.5805, allocations: 309.5 kB / 0.7359 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.5822, allocations: 1.529 MB / 0.7374 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.5826, allocations: 226.4 kB / 0.7376 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.5828, allocations: 116.8 kB / 0.7377 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.583, allocations: 89.09 kB / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.583, allocations: 38.56 kB / 0.7378 GB, free: 1.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.583, allocations: 0 / 0.7378 GB, free: 1.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001258/0.5843, allocations: 0.7873 MB / 0.7386 GB, free: 264 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.5843, allocations: 55.41 kB / 0.7386 GB, free: 196 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.5846, allocations: 200 kB / 0.7388 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5846, allocations: 29.7 kB / 0.7389 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.5847, allocations: 163.8 kB / 0.739 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.5848, allocations: 70.95 kB / 0.7391 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.5848, allocations: 0 / 0.7391 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5849, allocations: 334.8 kB / 0.7394 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.5851, allocations: 111.9 kB / 0.7395 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.5853, allocations: 170.2 kB / 0.7397 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.5855, allocations: 128 kB / 0.7398 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5855, allocations: 0 / 0.7398 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007052/0.5862, allocations: 427.8 kB / 0.7402 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5862, allocations: 6.188 kB / 0.7402 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5863, allocations: 7.938 kB / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/0.5867, allocations: 100.9 kB / 0.7403 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.5869, allocations: 51.91 kB / 0.7404 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.5888, allocations: 1.742 MB / 0.7421 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.589, allocations: 11.98 kB / 0.7421 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.589, allocations: 12 kB / 0.7421 GB, free: 12.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.5892, allocations: 153.8 kB / 0.7422 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.5893, allocations: 23.83 kB / 0.7423 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.5897, allocations: 295.3 kB / 0.7425 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.5898, allocations: 4 kB / 0.7425 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.5898, allocations: 0 / 0.7425 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5898, allocations: 3.984 kB / 0.7426 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.5907, allocations: 0.7068 MB / 0.7432 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5907, allocations: 0 / 0.7432 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.591, allocations: 59.89 kB / 0.7433 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.591, allocations: 0 / 0.7433 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.5911, allocations: 8 kB / 0.7433 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5911, allocations: 3.938 kB / 0.7433 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5911, allocations: 0 / 0.7433 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.5917, allocations: 0.5225 MB / 0.7438 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5918, allocations: 120.9 kB / 0.7439 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.5919, allocations: 4 kB / 0.7439 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.592, allocations: 11.98 kB / 0.744 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.5921, allocations: 15.97 kB / 0.744 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.5921, allocations: 8.062 kB / 0.744 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001419/0.5922, allocations: 144 kB / 0.7441 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5923, allocations: 64 / 0.7441 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003908/0.5927, allocations: 76 kB / 0.7442 GB, free: 10.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.5928, allocations: 107.2 kB / 0.7443 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000726/0.5936, allocations: 423 kB / 0.7447 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5936, allocations: 4.375 kB / 0.7447 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.5938, allocations: 123.8 kB / 0.7448 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.5942, allocations: 36.12 kB / 0.7448 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.5954, allocations: 0.7585 MB / 0.7456 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.5958, allocations: 0.7752 MB / 0.7463 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.596, allocations: 57.91 kB / 0.7464 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.5961, allocations: 19.44 kB / 0.7464 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.5961, allocations: 0 / 0.7464 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.006547/0.6026, allocations: 2.56 MB / 0.7489 GB, free: 5.305 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: