Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8926/0.8926, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.762/1.762, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.604e-05, allocations: 9.094 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.003699/0.003715, allocations: 4.171 MB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.0063, allocations: 2.746 MB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.006431, allocations: 15.88 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.007066, allocations: 374.2 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.007534, allocations: 441.5 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.008056, allocations: 0.5177 MB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.008563, allocations: 0.7901 MB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.008919, allocations: 323.7 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.009388, allocations: 411 kB / 1.01 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.009724, allocations: 351 kB / 1.011 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.009771, allocations: 48 kB / 1.011 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.01004, allocations: 319.1 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.01017, allocations: 219.3 kB / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.01029, allocations: 187.6 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.01088, allocations: 0.8333 MB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01088, allocations: 3.984 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01088, allocations: 4 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.01089, allocations: 0 / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.000934/0.01182, allocations: 0.8046 MB / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.01185, allocations: 8.75 kB / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.0126, allocations: 228.2 kB / 1.013 GB, free: 204 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.01295, allocations: 320.4 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.01297, allocations: 33.36 kB / 1.014 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.01304, allocations: 44.36 kB / 1.014 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.01396, allocations: 1.021 MB / 1.015 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.01398, allocations: 4.188 kB / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.01402, allocations: 20.38 kB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.01407, allocations: 72.83 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.01494, allocations: 0.7101 MB / 1.015 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.0173, allocations: 3.585 MB / 1.019 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.01819, allocations: 0.6148 MB / 1.02 GB, free: 9.484 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.01856, allocations: 305.4 kB / 1.02 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01859, allocations: 7.938 kB / 1.02 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.0186, allocations: 42.44 kB / 1.02 GB, free: 9.121 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=38): time 1.553e-06/0.01861, allocations: 4 kB / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39): time 0.001374/0.01998, allocations: 1.014 MB / 1.021 GB, free: 8.098 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.02001, allocations: 81.11 kB / 1.021 GB, free: 8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.02023, allocations: 349.5 kB / 1.021 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.02026, allocations: 33.7 kB / 1.021 GB, free: 7.605 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.02039, allocations: 288.6 kB / 1.022 GB, free: 7.32 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.02047, allocations: 142.8 kB / 1.022 GB, free: 7.18 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.02059, allocations: 114.2 kB / 1.022 GB, free: 7.062 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.02067, allocations: 354.8 kB / 1.022 GB, free: 6.707 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.02107, allocations: 323.2 kB / 1.023 GB, free: 6.387 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.02155, allocations: 0.5416 MB / 1.023 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.02244, allocations: 0.8564 MB / 1.024 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02244, allocations: 0 / 1.024 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001145/0.02359, allocations: 0.8888 MB / 1.025 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.0236, allocations: 12.16 kB / 1.025 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02361, allocations: 8 kB / 1.025 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.02363, allocations: 8 kB / 1.025 GB, free: 3.871 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.02404, allocations: 187.7 kB / 1.025 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.02405, allocations: 15.94 kB / 1.025 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.02433, allocations: 91.73 kB / 1.025 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.02436, allocations: 24 kB / 1.025 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004359/0.0248, allocations: 417.2 kB / 1.026 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004347/0.02523, allocations: 0.4947 MB / 1.026 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007789/0.02601, allocations: 0.7633 MB / 1.027 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.02601, allocations: 0 / 1.027 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0008791/0.02689, allocations: 0.7895 MB / 1.028 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.0269, allocations: 11.94 kB / 1.028 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.0269, allocations: 8 kB / 1.028 GB, free: 0.8789 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.02691, allocations: 12 kB / 1.028 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.02732, allocations: 183.6 kB / 1.028 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.02733, allocations: 8 kB / 1.028 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.02757, allocations: 75.91 kB / 1.028 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.02759, allocations: 35.94 kB / 1.028 GB, free: 0.5703 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0001063/0.0277, allocations: 212.1 kB / 1.028 GB, free: 364 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.02775, allocations: 55.59 kB / 1.028 GB, free: 308 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.02863, allocations: 0.6928 MB / 1.029 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.02863, allocations: 4 kB / 1.029 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.02864, allocations: 0 / 1.029 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.02864, allocations: 3.984 kB / 1.029 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.02997, allocations: 1.329 MB / 1.03 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.02997, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.03031, allocations: 147.7 kB / 1.03 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.03031, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.03033, allocations: 11.98 kB / 1.03 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.03034, allocations: 4.219 kB / 1.03 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.03034, allocations: 8 kB / 1.03 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.03107, allocations: 0.8035 MB / 1.031 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.03132, allocations: 99.59 kB / 1.031 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.03136, allocations: 11.94 kB / 1.031 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.0316, allocations: 59.91 kB / 1.031 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.03166, allocations: 35.88 kB / 1.031 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.03168, allocations: 16 kB / 1.031 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000182/0.03186, allocations: 255.1 kB / 1.031 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.03186, allocations: 7.938 kB / 1.031 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000486/0.03235, allocations: 208 kB / 1.032 GB, free: 12.52 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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 8.423e-05/0.03243, allocations: 103.2 kB / 1.032 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.03364, allocations: 1.021 MB / 1.033 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.03364, allocations: 0 / 1.033 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.03398, allocations: 291.8 kB / 1.033 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.03445, allocations: 130 kB / 1.033 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.03557, allocations: 1.086 MB / 1.034 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.03574, allocations: 279.6 kB / 1.034 GB, free: 9.543 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.03591, allocations: 52.42 kB / 1.035 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of SimCode: time 3.81e-07/0.03591, allocations: 0 / 1.035 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of Templates: time 0.005937/0.04185, allocations: 7.39 MB / 1.042 GB, free: 2.137 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.914993591606617] Failed to read output from testmodel.py, exit status != 0: 0.04666223470121622 0.054859134000000004 0.042393749 Calling exit ...