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.001023/0.001023, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009857/0.0009859, allocations: 177.3 kB / 15.95 MB, free: 216 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.796/1.796, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.84/1.84, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0005323/0.0005325, allocations: 16 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.567/0.5675, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003626/0.5712, allocations: 2.621 MB / 0.7305 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.5737, allocations: 1.595 MB / 0.7321 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.5738, allocations: 7.938 kB / 0.7321 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.574, allocations: 31.78 kB / 0.7321 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.5745, allocations: 143.5 kB / 0.7323 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.5749, allocations: 139.6 kB / 0.7324 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.5752, allocations: 175.6 kB / 0.7326 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008487/0.576, allocations: 498 kB / 0.733 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.5762, allocations: 99.67 kB / 0.7331 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.5764, allocations: 107.6 kB / 0.7332 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.5765, allocations: 12 kB / 0.7333 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.5768, allocations: 131.8 kB / 0.7334 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.5769, allocations: 83.78 kB / 0.7335 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.5769, allocations: 65.58 kB / 0.7335 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.5774, allocations: 309.2 kB / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.5774, allocations: 0 / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5774, allocations: 0 / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5774, allocations: 0 / 0.7338 GB, free: 5.441 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.0008945/0.5783, allocations: 0.5029 MB / 0.7343 GB, free: 4.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5784, allocations: 12.03 kB / 0.7343 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.5792, allocations: 103.6 kB / 0.7344 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.5795, allocations: 261.3 kB / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.5795, allocations: 12.44 kB / 0.7347 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/0.5797, allocations: 31.89 kB / 0.7347 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.5802, allocations: 373 kB / 0.7351 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5802, allocations: 0 / 0.7351 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.5803, allocations: 11.94 kB / 0.7351 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.775e-05/0.5804, allocations: 32.41 kB / 0.7351 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.5808, allocations: 305.5 kB / 0.7354 GB, free: 3.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.5827, allocations: 1.525 MB / 0.7369 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.5831, allocations: 230.4 kB / 0.7371 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.5833, allocations: 97.03 kB / 0.7372 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.5833, allocations: 30.56 kB / 0.7372 GB, free: 1.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.5833, allocations: 0 / 0.7372 GB, free: 1.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001288/0.5846, allocations: 0.7916 MB / 0.738 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5847, allocations: 55.34 kB / 0.7381 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.5849, allocations: 199.9 kB / 0.7382 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.5849, allocations: 29.7 kB / 0.7383 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.585, allocations: 163.9 kB / 0.7384 GB, free: 348 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.5851, allocations: 70.94 kB / 0.7385 GB, free: 276 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.5851, allocations: 4 kB / 0.7385 GB, free: 272 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5853, allocations: 334.8 kB / 0.7388 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.5855, allocations: 111.9 kB / 0.7389 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5857, allocations: 166.2 kB / 0.7391 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.5859, allocations: 132 kB / 0.7392 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5859, allocations: 0 / 0.7392 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007396/0.5866, allocations: 418.8 kB / 0.7396 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5867, allocations: 6.031 kB / 0.7396 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5867, allocations: 4 kB / 0.7396 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004192/0.5871, allocations: 104.8 kB / 0.7397 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.5874, allocations: 51.97 kB / 0.7398 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.5892, allocations: 1.769 MB / 0.7415 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.5894, allocations: 16.02 kB / 0.7415 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.5894, allocations: 11.98 kB / 0.7415 GB, free: 12.99 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.0001694/0.5896, allocations: 149.8 kB / 0.7417 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.5897, allocations: 19.77 kB / 0.7417 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.5901, allocations: 302.6 kB / 0.742 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5902, allocations: 0 / 0.742 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.5902, allocations: 4 kB / 0.742 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5902, allocations: 3.984 kB / 0.742 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.5911, allocations: 0.7068 MB / 0.7427 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5911, allocations: 4.062 kB / 0.7427 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.5914, allocations: 63.89 kB / 0.7427 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5914, allocations: 0 / 0.7427 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.5915, allocations: 4 kB / 0.7427 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5915, allocations: 0 / 0.7427 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5915, allocations: 0 / 0.7427 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.5921, allocations: 0.5395 MB / 0.7433 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.5922, allocations: 116.9 kB / 0.7434 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.5922, allocations: 7.984 kB / 0.7434 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5924, allocations: 15.98 kB / 0.7434 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.5925, allocations: 7.984 kB / 0.7434 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.5925, allocations: 8 kB / 0.7434 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001319/0.5926, allocations: 152 kB / 0.7436 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5926, allocations: 4.062 kB / 0.7436 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003553/0.593, allocations: 68 kB / 0.7436 GB, free: 10.71 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.000162/0.5932, allocations: 103.2 kB / 0.7437 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000693/0.5939, allocations: 428.4 kB / 0.7441 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5939, allocations: 4.062 kB / 0.7441 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.5941, allocations: 119.8 kB / 0.7443 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5944, allocations: 24.17 kB / 0.7443 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.5955, allocations: 0.7624 MB / 0.745 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.596, allocations: 0.7869 MB / 0.7458 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.5961, allocations: 57.91 kB / 0.7458 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.5962, allocations: 15.44 kB / 0.7459 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5962, allocations: 0 / 0.7459 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of Templates: time 0.005828/0.6021, allocations: 2.564 MB / 0.7484 GB, free: 5.797 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: