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.01132/0.01132, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002346/0.002346, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 12.26 MB / 190.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.543/1.543, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001734/0.001734, allocations: 79.89 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9287/0.9304, allocations: 104.7 MB / 0.828 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00509/0.9356, allocations: 3.072 MB / 0.831 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00324/0.9388, allocations: 1.738 MB / 0.8327 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.9391, allocations: 4 kB / 0.8327 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.9405, allocations: 326.7 kB / 0.833 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.9412, allocations: 211.1 kB / 0.8332 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.9419, allocations: 190.9 kB / 0.8334 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.9425, allocations: 319 kB / 0.8337 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004981/0.943, allocations: 253.3 kB / 0.834 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.9433, allocations: 135.5 kB / 0.8341 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.9438, allocations: 163.4 kB / 0.8342 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.9439, allocations: 24 kB / 0.8343 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.9446, allocations: 247.4 kB / 0.8345 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.9448, allocations: 103.8 kB / 0.8346 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.9451, allocations: 123.4 kB / 0.8347 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.9462, allocations: 421 kB / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.9462, allocations: 0 / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9462, allocations: 4 kB / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.9462, allocations: 0 / 0.8351 GB, free: 11.29 MB / 0.6387 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.001773/0.948, allocations: 0.5459 MB / 0.8357 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.9481, allocations: 8.031 kB / 0.8357 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9492, allocations: 92.55 kB / 0.8358 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/0.9499, allocations: 259.9 kB / 0.836 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.9499, allocations: 20.75 kB / 0.836 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.9501, allocations: 24.55 kB / 0.836 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/0.9509, allocations: 369.2 kB / 0.8364 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.9509, allocations: 4 kB / 0.8364 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.951, allocations: 7.984 kB / 0.8364 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.9511, allocations: 40.34 kB / 0.8365 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.9516, allocations: 305.5 kB / 0.8367 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.9538, allocations: 1.518 MB / 0.8382 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.9542, allocations: 238.3 kB / 0.8385 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.9544, allocations: 116.8 kB / 0.8386 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.9546, allocations: 81.42 kB / 0.8386 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.9546, allocations: 46.55 kB / 0.8387 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.9547, allocations: 0 / 0.8387 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.00139/0.956, allocations: 0.789 MB / 0.8395 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.9561, allocations: 55.41 kB / 0.8395 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.9563, allocations: 199.1 kB / 0.8397 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.9564, allocations: 29.7 kB / 0.8397 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.9565, allocations: 159.8 kB / 0.8399 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.9566, allocations: 70.98 kB / 0.8399 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.9567, allocations: 53.7 kB / 0.84 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9568, allocations: 334.8 kB / 0.8403 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.957, allocations: 115.9 kB / 0.8404 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.9572, allocations: 165.9 kB / 0.8406 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.9576, allocations: 301.7 kB / 0.8409 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9576, allocations: 0 / 0.8409 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007613/0.9584, allocations: 415.8 kB / 0.8413 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.9584, allocations: 11.28 kB / 0.8413 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9584, allocations: 0 / 0.8413 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.9589, allocations: 100.9 kB / 0.8414 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.9592, allocations: 55.91 kB / 0.8414 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.9613, allocations: 1.875 MB / 0.8433 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.9615, allocations: 19.95 kB / 0.8433 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.9616, allocations: 11.98 kB / 0.8433 GB, free: 2.336 MB / 0.6387 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.0001796/0.9617, allocations: 157.8 kB / 0.8434 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.9618, allocations: 19.8 kB / 0.8435 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.9623, allocations: 291.4 kB / 0.8437 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.9623, allocations: 7.984 kB / 0.8437 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.9623, allocations: 0 / 0.8437 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9623, allocations: 3.938 kB / 0.8438 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.9633, allocations: 0.699 MB / 0.8444 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9633, allocations: 192 / 0.8444 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.9636, allocations: 67.89 kB / 0.8445 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9636, allocations: 0 / 0.8445 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.9636, allocations: 11.94 kB / 0.8445 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9636, allocations: 0 / 0.8445 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.9637, allocations: 4 kB / 0.8445 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.9643, allocations: 0.5087 MB / 0.845 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.9644, allocations: 116.8 kB / 0.8451 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.9645, allocations: 11.98 kB / 0.8451 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.9647, allocations: 11.98 kB / 0.8451 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.9647, allocations: 15.92 kB / 0.8452 GB, free: 312 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.9647, allocations: 4 kB / 0.8452 GB, free: 308 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001434/0.9649, allocations: 157.8 kB / 0.8453 GB, free: 152 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9649, allocations: 0 / 0.8453 GB, free: 152 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003891/0.9653, allocations: 60 kB / 0.8454 GB, free: 92 kB / 0.6387 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.0002076/0.9655, allocations: 115.2 kB / 0.8455 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007687/0.9663, allocations: 430.5 kB / 0.8459 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9663, allocations: 0 / 0.8459 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.9665, allocations: 119.9 kB / 0.846 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.967, allocations: 42.7 kB / 0.846 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.9684, allocations: 0.6235 MB / 0.8467 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.9688, allocations: 0.7714 MB / 0.8474 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.969, allocations: 61.89 kB / 0.8475 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.969, allocations: 19.44 kB / 0.8475 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.969, allocations: 0 / 0.8475 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.007537/0.9766, allocations: 2.838 MB / 0.8503 GB, free: 11.04 MB / 0.6544 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)