Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.008352/0.008352, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 11.25 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3501, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005402/0.3555, allocations: 4.285 MB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003742/0.3593, allocations: 2.345 MB / 1.081 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.3595, allocations: 4 kB / 1.081 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.3598, allocations: 63.48 kB / 1.081 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006744/0.3604, allocations: 278.9 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007872/0.3612, allocations: 311.4 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.3621, allocations: 0.8064 MB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.3633, allocations: 0.6607 MB / 1.083 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.3636, allocations: 175.3 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.3641, allocations: 271 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.3641, allocations: 20 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.3647, allocations: 327.4 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3649, allocations: 151.6 kB / 1.084 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.3651, allocations: 212.7 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.3658, allocations: 0.6504 MB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3658, allocations: 4 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3658, allocations: 0 / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3658, allocations: 0 / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001082/0.3669, allocations: 0.6357 MB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3669, allocations: 12.03 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.3682, allocations: 152.3 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.3686, allocations: 328.4 kB / 1.086 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.3686, allocations: 29.38 kB / 1.086 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.3687, allocations: 32.38 kB / 1.086 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.3697, allocations: 0.6419 MB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3697, allocations: 4 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.3698, allocations: 16 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.074e-05/0.3699, allocations: 48.56 kB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.3707, allocations: 498.1 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.3745, allocations: 3.436 MB / 1.09 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.3752, allocations: 377 kB / 1.09 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.3755, allocations: 181.6 kB / 1.091 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.3755, allocations: 0 / 1.091 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.3756, allocations: 42.56 kB / 1.091 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.3756, allocations: 3.938 kB / 1.091 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004896/0.3805, allocations: 1.462 MB / 1.092 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3806, allocations: 89.09 kB / 1.092 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.381, allocations: 336.4 kB / 1.093 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.381, allocations: 29.7 kB / 1.093 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3812, allocations: 259.3 kB / 1.093 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.3813, allocations: 86.75 kB / 1.093 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.3814, allocations: 49.69 kB / 1.093 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3815, allocations: 338.8 kB / 1.093 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.3818, allocations: 189 kB / 1.093 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.3822, allocations: 342.1 kB / 1.094 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.383, allocations: 0.5435 MB / 1.094 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.383, allocations: 4 kB / 1.094 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002446/0.3854, allocations: 0.9201 MB / 1.095 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.3857, allocations: 248.8 kB / 1.095 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3857, allocations: 8 kB / 1.095 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.388, allocations: 0.501 MB / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.3884, allocations: 95.81 kB / 1.096 GB, free: 292 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.394, allocations: 3.79 MB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.3946, allocations: 47.8 kB / 1.1 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.3946, allocations: 24 kB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.3946, allocations: 5.562 kB / 1.1 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008675/0.3955, allocations: 0.4916 MB / 1.1 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3955, allocations: 8.703 kB / 1.1 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.3955, allocations: 8 kB / 1.1 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.396, allocations: 115.8 kB / 1.1 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.396, allocations: 11.98 kB / 1.1 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.3963, allocations: 39.81 kB / 1.1 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.3964, allocations: 20 kB / 1.1 GB, free: 11.46 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.3967, allocations: 272.8 kB / 1.101 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.3968, allocations: 35.62 kB / 1.101 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.3985, allocations: 0.6707 MB / 1.101 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3985, allocations: 7.984 kB / 1.101 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3986, allocations: 7.922 kB / 1.101 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3986, allocations: 4 kB / 1.101 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.3995, allocations: 0.6636 MB / 1.102 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3995, allocations: 0 / 1.102 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3997, allocations: 47.89 kB / 1.102 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.4013, allocations: 405.3 kB / 1.102 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.4013, allocations: 8 kB / 1.103 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.4053, allocations: 3.478 MB / 1.106 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4053, allocations: 0 / 1.106 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.407, allocations: 0.8264 MB / 1.107 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.4072, allocations: 148.6 kB / 1.107 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.4073, allocations: 8 kB / 1.107 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.4077, allocations: 35.94 kB / 1.107 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.4078, allocations: 23.91 kB / 1.107 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4078, allocations: 12 kB / 1.107 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002958/0.4081, allocations: 235 kB / 1.107 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4081, allocations: 0 / 1.107 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008967/0.409, allocations: 196 kB / 1.107 GB, free: 3.996 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.4092, allocations: 108.4 kB / 1.107 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.4109, allocations: 0.9721 MB / 1.108 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4109, allocations: 0 / 1.108 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.4116, allocations: 479.5 kB / 1.109 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.4123, allocations: 74.7 kB / 1.109 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4136, allocations: 0.9351 MB / 1.11 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4141, allocations: 0.8509 MB / 1.111 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004512/0.4145, allocations: 147.2 kB / 1.111 GB, free: 328 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.4146, allocations: 27.44 kB / 1.111 GB, free: 304 kB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.4146, allocations: 0 / 1.111 GB, free: 304 kB / 0.8575 GB Notification: Performance of Templates: time 0.01185/0.4265, allocations: 6.888 MB / 1.118 GB, free: 9.438 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)