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.0008488/0.000849, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006713/0.006714, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.488/1.488, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.605/1.605, allocations: 252 MB / 0.5105 GB, free: 4.715 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.0006205/0.0006209, allocations: 24 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5138, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003026/0.5169, allocations: 2.329 MB / 0.731 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.5194, allocations: 1.504 MB / 0.7325 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.5195, allocations: 4 kB / 0.7325 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.5197, allocations: 27.78 kB / 0.7325 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.5202, allocations: 183.3 kB / 0.7327 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.5206, allocations: 143.7 kB / 0.7328 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.5209, allocations: 347.1 kB / 0.7332 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.5216, allocations: 320.8 kB / 0.7335 GB, free: 6.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.5217, allocations: 87.69 kB / 0.7335 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.522, allocations: 111.6 kB / 0.7337 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.522, allocations: 8 kB / 0.7337 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.5224, allocations: 271.4 kB / 0.7339 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.5225, allocations: 63.81 kB / 0.734 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.5226, allocations: 109.2 kB / 0.7341 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.523, allocations: 323 kB / 0.7344 GB, free: 5.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.523, allocations: 0 / 0.7344 GB, free: 5.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.523, allocations: 3.938 kB / 0.7344 GB, free: 5.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.523, allocations: 0 / 0.7344 GB, free: 5.398 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.0006805/0.5237, allocations: 459.2 kB / 0.7348 GB, free: 4.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5237, allocations: 12.03 kB / 0.7348 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000581/0.5243, allocations: 76.66 kB / 0.7349 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.5246, allocations: 236 kB / 0.7351 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5246, allocations: 12.7 kB / 0.7352 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.5247, allocations: 16.36 kB / 0.7352 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.5252, allocations: 320.4 kB / 0.7355 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5252, allocations: 3.938 kB / 0.7355 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.5252, allocations: 8 kB / 0.7355 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.5253, allocations: 24.2 kB / 0.7355 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.5257, allocations: 248.6 kB / 0.7357 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.5274, allocations: 1.63 MB / 0.7373 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.528, allocations: 411.2 kB / 0.7377 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.5281, allocations: 93.66 kB / 0.7378 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.5283, allocations: 89.09 kB / 0.7379 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5283, allocations: 30.56 kB / 0.7379 GB, free: 1.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.5283, allocations: 224 / 0.7379 GB, free: 1.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006657/0.529, allocations: 312.4 kB / 0.7382 GB, free: 1.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.5291, allocations: 89.23 kB / 0.7383 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5292, allocations: 173.4 kB / 0.7385 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.5293, allocations: 29.89 kB / 0.7385 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.5294, allocations: 151.8 kB / 0.7387 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.5294, allocations: 47.23 kB / 0.7387 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.5295, allocations: 29.7 kB / 0.7387 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5296, allocations: 322.8 kB / 0.739 GB, free: 228 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5297, allocations: 75.95 kB / 0.7391 GB, free: 152 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.5299, allocations: 153.4 kB / 0.7393 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.5303, allocations: 248.8 kB / 0.7395 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5303, allocations: 3.938 kB / 0.7395 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003831/0.5307, allocations: 269.3 kB / 0.7398 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.5308, allocations: 157.8 kB / 0.7399 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5308, allocations: 3.938 kB / 0.7399 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5308, allocations: 8 kB / 0.7399 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.531, allocations: 56 kB / 0.74 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5311, allocations: 7.938 kB / 0.74 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.5312, allocations: 23.88 kB / 0.74 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.5312, allocations: 11.98 kB / 0.74 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.5312, allocations: 6.031 kB / 0.74 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003016/0.5316, allocations: 211.9 kB / 0.7402 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5316, allocations: 4 kB / 0.7402 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.5316, allocations: 4 kB / 0.7402 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5318, allocations: 47.91 kB / 0.7403 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.5318, allocations: 4 kB / 0.7403 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5319, allocations: 23.86 kB / 0.7403 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.5319, allocations: 8 kB / 0.7403 GB, free: 14.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.5321, allocations: 225 kB / 0.7405 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.5321, allocations: 11.81 kB / 0.7405 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.5325, allocations: 207.8 kB / 0.7407 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5325, allocations: 0 / 0.7407 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5325, allocations: 7.938 kB / 0.7407 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5325, allocations: 0 / 0.7407 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5337, allocations: 0.9731 MB / 0.7417 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5337, allocations: 0 / 0.7417 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5339, allocations: 31.92 kB / 0.7417 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5339, allocations: 8 kB / 0.7417 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.5339, allocations: 11.98 kB / 0.7417 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5339, allocations: 4 kB / 0.7417 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5339, allocations: 4 kB / 0.7417 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.5343, allocations: 444.9 kB / 0.7422 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.5344, allocations: 104.9 kB / 0.7423 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.5344, allocations: 7.984 kB / 0.7423 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.5346, allocations: 15.98 kB / 0.7423 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.5346, allocations: 23.88 kB / 0.7423 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5347, allocations: 11.98 kB / 0.7423 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001257/0.5348, allocations: 133.2 kB / 0.7425 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5348, allocations: 0 / 0.7425 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005114/0.5353, allocations: 72 kB / 0.7425 GB, free: 12.34 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 (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.0001643/0.5355, allocations: 115.1 kB / 0.7426 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.536, allocations: 300.9 kB / 0.7429 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.536, allocations: 0 / 0.7429 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.5361, allocations: 81.27 kB / 0.743 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.5367, allocations: 40.61 kB / 0.743 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.5376, allocations: 0.5551 MB / 0.7436 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.5379, allocations: 0.7402 MB / 0.7443 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.5382, allocations: 85.59 kB / 0.7444 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5382, allocations: 19.44 kB / 0.7444 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 5.82e-07/0.5382, allocations: 0 / 0.7444 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.004362/0.5426, allocations: 1.704 MB / 0.7461 GB, free: 8.66 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: