Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007961/0.0007961, allocations: 72.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.0008572/0.0008572, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9303/0.9303, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.133e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004091/0.004123, allocations: 4.166 MB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.007479, allocations: 2.738 MB / 0.9889 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.007732, allocations: 15.88 kB / 0.989 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008329/0.008565, allocations: 374.2 kB / 0.9893 GB, free: 10.74 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007712/0.009336, allocations: 437.5 kB / 0.9897 GB, free: 10.31 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.01027, allocations: 0.5252 MB / 0.9902 GB, free: 9.789 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000645/0.01091, allocations: 0.7865 MB / 0.991 GB, free: 9 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.01134, allocations: 323.7 kB / 0.9913 GB, free: 8.676 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.01175, allocations: 418.9 kB / 0.9917 GB, free: 8.266 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.01215, allocations: 359 kB / 0.9921 GB, free: 7.914 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.01221, allocations: 44 kB / 0.9921 GB, free: 7.871 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.01267, allocations: 315.2 kB / 0.9924 GB, free: 7.562 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.01283, allocations: 223.3 kB / 0.9926 GB, free: 7.344 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.01296, allocations: 183.6 kB / 0.9928 GB, free: 7.164 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007317/0.0137, allocations: 0.8372 MB / 0.9936 GB, free: 6.324 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.0137, allocations: 0 / 0.9936 GB, free: 6.324 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.0137, allocations: 4 kB / 0.9936 GB, free: 6.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.01371, allocations: 0 / 0.9936 GB, free: 6.32 MB / 0.948 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.001119/0.01483, allocations: 0.8046 MB / 0.9944 GB, free: 5.484 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.01487, allocations: 12.03 kB / 0.9944 GB, free: 5.473 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/0.01568, allocations: 220.3 kB / 0.9946 GB, free: 5.258 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.01609, allocations: 328.3 kB / 0.9949 GB, free: 4.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.01611, allocations: 33.36 kB / 0.995 GB, free: 4.879 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.01618, allocations: 44.36 kB / 0.995 GB, free: 4.836 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.01736, allocations: 1.025 MB / 0.996 GB, free: 3.688 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.01738, allocations: 8.078 kB / 0.996 GB, free: 3.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.01742, allocations: 20.38 kB / 0.996 GB, free: 3.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.01749, allocations: 64.89 kB / 0.9961 GB, free: 3.598 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.01838, allocations: 0.7101 MB / 0.9968 GB, free: 2.887 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.0209, allocations: 3.593 MB / 1 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.02183, allocations: 0.6103 MB / 1.001 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.02221, allocations: 301.4 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.02223, allocations: 4 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.02226, allocations: 42.5 kB / 1.001 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=38): time 2.955e-06/0.02226, allocations: 0 / 1.001 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39): time 0.001501/0.02376, allocations: 1.018 MB / 1.002 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.0238, allocations: 81.11 kB / 1.002 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.0242, allocations: 353.4 kB / 1.003 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.02424, allocations: 29.7 kB / 1.003 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.02436, allocations: 288.6 kB / 1.003 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.02444, allocations: 154.7 kB / 1.003 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.02457, allocations: 106.3 kB / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.02466, allocations: 354.8 kB / 1.004 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.02505, allocations: 319.2 kB / 1.004 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.02552, allocations: 0.5455 MB / 1.004 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/0.0264, allocations: 0.8616 MB / 1.005 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.0264, allocations: 0 / 1.005 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001018/0.02742, allocations: 0.8987 MB / 1.006 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.02744, allocations: 10.19 kB / 1.006 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.02745, allocations: 8 kB / 1.006 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.02747, allocations: 8 kB / 1.006 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.02789, allocations: 183.7 kB / 1.006 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.02791, allocations: 16.25 kB / 1.006 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.02821, allocations: 87.78 kB / 1.006 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.02824, allocations: 32 kB / 1.006 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004664/0.02871, allocations: 421.1 kB / 1.007 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004246/0.02913, allocations: 499.1 kB / 1.007 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007709/0.0299, allocations: 0.7742 MB / 1.008 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.02991, allocations: 4 kB / 1.008 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0008899/0.0308, allocations: 0.7779 MB / 1.009 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.03081, allocations: 11.94 kB / 1.009 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.03081, allocations: 4 kB / 1.009 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.03082, allocations: 12 kB / 1.009 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.03124, allocations: 188.2 kB / 1.009 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.03125, allocations: 11.94 kB / 1.009 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.03166, allocations: 75.77 kB / 1.009 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.03168, allocations: 24 kB / 1.009 GB, free: 5.621 MB / 0.9636 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.0001476/0.03183, allocations: 216.1 kB / 1.009 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.03189, allocations: 43.7 kB / 1.009 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009149/0.0328, allocations: 0.7005 MB / 1.01 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.03281, allocations: 4 kB / 1.01 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.03281, allocations: 0 / 1.01 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.03282, allocations: 3.984 kB / 1.01 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.0343, allocations: 1.333 MB / 1.011 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.0343, allocations: 4 kB / 1.011 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.03464, allocations: 140 kB / 1.012 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.03465, allocations: 4 kB / 1.012 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.03467, allocations: 12 kB / 1.012 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.03468, allocations: 7.984 kB / 1.012 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.03468, allocations: 4 kB / 1.012 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.03548, allocations: 0.8147 MB / 1.012 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.03562, allocations: 87.64 kB / 1.012 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.03566, allocations: 15.95 kB / 1.012 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.03589, allocations: 51.92 kB / 1.012 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.03599, allocations: 47.67 kB / 1.013 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.03601, allocations: 12 kB / 1.013 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002073/0.03621, allocations: 267.1 kB / 1.013 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.03621, allocations: 0 / 1.013 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005612/0.03677, allocations: 204 kB / 1.013 GB, free: 1.562 MB / 0.9636 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 0.0001349/0.03691, allocations: 123 kB / 1.013 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.0382, allocations: 1.011 MB / 1.014 GB, free: 436 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.0382, allocations: 0 / 1.014 GB, free: 436 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.03854, allocations: 287.6 kB / 1.014 GB, free: 148 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.03905, allocations: 132.2 kB / 1.014 GB, free: 24 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.04044, allocations: 1.09 MB / 1.016 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.04062, allocations: 279.5 kB / 1.016 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.04079, allocations: 48.48 kB / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of SimCode: time 1.152e-06/0.04079, allocations: 0 / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of Templates: time 0.007267/0.04806, allocations: 7.393 MB / 1.023 GB, free: 7.176 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.098724504932761] Failed to read output from testmodel.py, exit status != 0: 0.054560162127017975 0.063203961 0.047561815 Calling exit ...