Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001941/0.001942, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 197 kB / 16.53 MB, free: 6.664 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.609/1.609, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.3 MB / 0.5489 GB, free: 12.87 MB / 462.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.001688/0.001688, allocations: 64.12 kB / 0.6715 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2908, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.007441/0.2983, allocations: 4.628 MB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003825/0.3022, allocations: 2.225 MB / 0.7901 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.3028, allocations: 11.94 kB / 0.7901 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.3048, allocations: 0.5369 MB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.3059, allocations: 266.7 kB / 0.7908 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.3075, allocations: 354.1 kB / 0.7912 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3087, allocations: 0.5529 MB / 0.7917 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00083/0.3095, allocations: 380 kB / 0.7921 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/0.3101, allocations: 227.2 kB / 0.7923 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006322/0.3107, allocations: 271.1 kB / 0.7926 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.3108, allocations: 39.94 kB / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.3114, allocations: 259.5 kB / 0.7928 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.3116, allocations: 171.6 kB / 0.793 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3119, allocations: 218.9 kB / 0.7932 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.3127, allocations: 0.6348 MB / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3127, allocations: 0 / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3128, allocations: 0 / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.3128, allocations: 4 kB / 0.7938 GB, free: 2.719 MB / 0.6075 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.001284/0.3141, allocations: 0.7097 MB / 0.7945 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3141, allocations: 8.031 kB / 0.7945 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.3151, allocations: 144.2 kB / 0.7947 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3155, allocations: 312.5 kB / 0.795 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3156, allocations: 37.36 kB / 0.795 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.3156, allocations: 36.28 kB / 0.795 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/0.3165, allocations: 0.6263 MB / 0.7957 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3166, allocations: 0 / 0.7957 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.3166, allocations: 19.98 kB / 0.7957 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.119e-05/0.3167, allocations: 40.62 kB / 0.7957 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.3174, allocations: 486.1 kB / 0.7962 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.3208, allocations: 3.42 MB / 0.7995 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.3215, allocations: 371 kB / 0.7999 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.3218, allocations: 185.5 kB / 0.8001 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.3218, allocations: 4.391 kB / 0.8001 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3218, allocations: 38.56 kB / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.3218, allocations: 0 / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004631/0.3265, allocations: 1.455 MB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3266, allocations: 77.11 kB / 0.8016 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.327, allocations: 328.4 kB / 0.8019 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.327, allocations: 29.7 kB / 0.8019 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3272, allocations: 259.2 kB / 0.8022 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.3273, allocations: 106.6 kB / 0.8023 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.3275, allocations: 94.09 kB / 0.8024 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3276, allocations: 346.7 kB / 0.8027 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.3279, allocations: 179 kB / 0.8029 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.3283, allocations: 338.1 kB / 0.8032 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.3289, allocations: 0.533 MB / 0.8037 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.329, allocations: 4 kB / 0.8037 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002316/0.3313, allocations: 0.9161 MB / 0.8046 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3313, allocations: 7.938 kB / 0.8046 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3313, allocations: 8 kB / 0.8046 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.3336, allocations: 0.5011 MB / 0.8051 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.334, allocations: 91.88 kB / 0.8052 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.3399, allocations: 4.056 MB / 0.8092 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.3403, allocations: 35.91 kB / 0.8092 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3404, allocations: 24.06 kB / 0.8092 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004417/0.3408, allocations: 301.8 kB / 0.8095 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003428/0.3412, allocations: 327.8 kB / 0.8098 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005891/0.3418, allocations: 0.5058 MB / 0.8103 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.3418, allocations: 4 kB / 0.8103 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007466/0.3426, allocations: 0.5208 MB / 0.8108 GB, free: 140 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3426, allocations: 11.98 kB / 0.8108 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3426, allocations: 12.09 kB / 0.8109 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.3426, allocations: 11.94 kB / 0.8109 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.343, allocations: 107.9 kB / 0.811 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.343, allocations: 11.94 kB / 0.811 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.3433, allocations: 35.77 kB / 0.811 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3434, allocations: 20 kB / 0.811 GB, free: 15.93 MB / 0.6387 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.0001621/0.3435, allocations: 206.6 kB / 0.8112 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.3436, allocations: 35.77 kB / 0.8113 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.3453, allocations: 0.6882 MB / 0.8119 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3453, allocations: 4 kB / 0.8119 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3453, allocations: 0 / 0.8119 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3453, allocations: 3.984 kB / 0.8119 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/0.3463, allocations: 0.6637 MB / 0.8126 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3463, allocations: 0 / 0.8126 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.3465, allocations: 43.91 kB / 0.8126 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.348, allocations: 405.3 kB / 0.813 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.348, allocations: 8 kB / 0.813 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/0.352, allocations: 3.769 MB / 0.8167 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3521, allocations: 0 / 0.8167 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3538, allocations: 0.8261 MB / 0.8175 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.354, allocations: 144.6 kB / 0.8176 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.3541, allocations: 8 kB / 0.8177 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.3545, allocations: 35.94 kB / 0.8177 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.3545, allocations: 19.97 kB / 0.8177 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3546, allocations: 8 kB / 0.8177 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002823/0.3549, allocations: 231 kB / 0.8179 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3549, allocations: 0 / 0.8179 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009001/0.3558, allocations: 192 kB / 0.8181 GB, free: 8.25 MB / 0.6387 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.000184/0.356, allocations: 111.2 kB / 0.8182 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.3577, allocations: 0.9914 MB / 0.8192 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3577, allocations: 0 / 0.8192 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.3584, allocations: 489.5 kB / 0.8197 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.3591, allocations: 63.75 kB / 0.8197 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3603, allocations: 0.7692 MB / 0.8205 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.3608, allocations: 0.847 MB / 0.8213 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003916/0.3612, allocations: 143.2 kB / 0.8214 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.3613, allocations: 27.44 kB / 0.8215 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.3613, allocations: 0 / 0.8215 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of Templates: time 0.01254/0.3738, allocations: 7.219 MB / 0.8285 GB, free: 13.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)