Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008942, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001015/0.001016, 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.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.62/1.62, 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.000535/0.0005351, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.601, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003829/0.6049, allocations: 2.247 MB / 0.7303 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.6072, allocations: 1.423 MB / 0.7317 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.6073, allocations: 4 kB / 0.7317 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.6075, allocations: 31.78 kB / 0.7318 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.6081, allocations: 143.4 kB / 0.7319 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.6085, allocations: 115.7 kB / 0.732 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.6088, allocations: 267.2 kB / 0.7323 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.6095, allocations: 310.4 kB / 0.7326 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.6097, allocations: 83.67 kB / 0.7326 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.61, allocations: 107.6 kB / 0.7327 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.61, allocations: 8 kB / 0.7327 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.6103, allocations: 123.8 kB / 0.7329 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.6105, allocations: 63.84 kB / 0.7329 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.6105, allocations: 57.58 kB / 0.733 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.611, allocations: 233.4 kB / 0.7332 GB, free: 6.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.611, allocations: 7.938 kB / 0.7332 GB, free: 6.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.835e-06/0.611, allocations: 0 / 0.7332 GB, free: 6.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.611, allocations: 4 kB / 0.7332 GB, free: 6.164 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009751/0.612, allocations: 466.9 kB / 0.7337 GB, free: 5.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.612, allocations: 8.031 kB / 0.7337 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.6127, allocations: 79.67 kB / 0.7337 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.613, allocations: 226.7 kB / 0.734 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.6131, allocations: 16.27 kB / 0.734 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.6131, allocations: 23.98 kB / 0.734 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.6136, allocations: 307.8 kB / 0.7343 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6137, allocations: 4 kB / 0.7343 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.6137, allocations: 11.98 kB / 0.7343 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.6138, allocations: 24.27 kB / 0.7343 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.6142, allocations: 256.5 kB / 0.7346 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.616, allocations: 1.626 MB / 0.7362 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.6167, allocations: 411.2 kB / 0.7366 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.6168, allocations: 85.67 kB / 0.7366 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.617, allocations: 89.08 kB / 0.7367 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6171, allocations: 38.5 kB / 0.7368 GB, free: 2.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.6171, allocations: 0 / 0.7368 GB, free: 2.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007799/0.6179, allocations: 304.7 kB / 0.737 GB, free: 1.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.6179, allocations: 81.11 kB / 0.7371 GB, free: 1.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.6181, allocations: 176.6 kB / 0.7373 GB, free: 1.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.6182, allocations: 29.7 kB / 0.7373 GB, free: 1.555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6183, allocations: 152 kB / 0.7375 GB, free: 1.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.6183, allocations: 47.3 kB / 0.7375 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.6184, allocations: 4 kB / 0.7375 GB, free: 1.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6185, allocations: 322.8 kB / 0.7378 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.6187, allocations: 75.95 kB / 0.7379 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.6189, allocations: 157.3 kB / 0.738 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.6191, allocations: 98.66 kB / 0.7381 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6191, allocations: 4 kB / 0.7381 GB, free: 0.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003936/0.6195, allocations: 273.2 kB / 0.7384 GB, free: 404 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.6196, allocations: 157.9 kB / 0.7386 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.6196, allocations: 0 / 0.7386 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6196, allocations: 8 kB / 0.7386 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.6199, allocations: 55.89 kB / 0.7386 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6199, allocations: 4 kB / 0.7386 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.62, allocations: 16.17 kB / 0.7386 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.6201, allocations: 12.19 kB / 0.7386 GB, free: 112 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.6201, allocations: 7.938 kB / 0.7387 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000371/0.6205, allocations: 219.9 kB / 0.7389 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6205, allocations: 3.984 kB / 0.7389 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.6205, allocations: 4 kB / 0.7389 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6207, allocations: 51.91 kB / 0.7389 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6207, allocations: 3.938 kB / 0.7389 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.6208, allocations: 19.89 kB / 0.7389 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6208, allocations: 8 kB / 0.7389 GB, free: 15.79 MB / 0.5606 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.621, allocations: 229 kB / 0.7392 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.621, allocations: 15.86 kB / 0.7392 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.6214, allocations: 212.1 kB / 0.7394 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6214, allocations: 4 kB / 0.7394 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6214, allocations: 0 / 0.7394 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6214, allocations: 0 / 0.7394 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.6227, allocations: 0.9692 MB / 0.7403 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6227, allocations: 0 / 0.7403 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.6229, allocations: 39.92 kB / 0.7404 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6229, allocations: 4 kB / 0.7404 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.6229, allocations: 7.984 kB / 0.7404 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.6229, allocations: 7.938 kB / 0.7404 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6229, allocations: 4 kB / 0.7404 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.6234, allocations: 444.1 kB / 0.7408 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.6235, allocations: 101 kB / 0.7409 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.6236, allocations: 11.98 kB / 0.7409 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.6238, allocations: 11.98 kB / 0.7409 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.6238, allocations: 27.83 kB / 0.741 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.6239, allocations: 11.98 kB / 0.741 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001322/0.624, allocations: 129.2 kB / 0.7411 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.624, allocations: 0 / 0.7411 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005249/0.6245, allocations: 72 kB / 0.7412 GB, free: 13.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001804/0.6247, allocations: 115.1 kB / 0.7413 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.6252, allocations: 299.5 kB / 0.7416 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6252, allocations: 4 kB / 0.7416 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.6253, allocations: 81.27 kB / 0.7416 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.6258, allocations: 38.73 kB / 0.7417 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.6268, allocations: 0.5644 MB / 0.7422 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.6274, allocations: 0.7479 MB / 0.743 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.6277, allocations: 77.47 kB / 0.743 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.6278, allocations: 15.44 kB / 0.7431 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.6278, allocations: 3.938 kB / 0.7431 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.00474/0.6325, allocations: 1.675 MB / 0.7447 GB, free: 9.648 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: