Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001377/0.001377, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001533/0.001533, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.439/1.439, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002648/0.002648, allocations: 226.3 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.08/1.08, allocations: 138.5 MB / 454.7 MB, free: 1.488 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.334e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005204/0.005227, allocations: 3.017 MB / 0.5573 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.008766, allocations: 1.866 MB / 0.5591 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.008899, allocations: 7.938 kB / 0.5591 GB, free: 11.97 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009929/0.009892, allocations: 270.9 kB / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.01044, allocations: 206.8 kB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.01114, allocations: 258.9 kB / 0.5598 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.01163, allocations: 330.8 kB / 0.5601 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.01195, allocations: 154 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.01229, allocations: 191.5 kB / 0.5604 GB, free: 10.58 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.0126, allocations: 127.6 kB / 0.5606 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.01265, allocations: 24 kB / 0.5606 GB, free: 10.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006731/0.01332, allocations: 387 kB / 0.5609 GB, free: 10.05 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.01346, allocations: 99.72 kB / 0.561 GB, free: 9.957 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.01359, allocations: 79.83 kB / 0.5611 GB, free: 9.879 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.01441, allocations: 0.518 MB / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01441, allocations: 0 / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01441, allocations: 0 / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.01442, allocations: 0 / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001016/0.01544, allocations: 0.4971 MB / 0.5621 GB, free: 8.828 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.01547, allocations: 8.75 kB / 0.5621 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009661/0.01644, allocations: 172.4 kB / 0.5623 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.01681, allocations: 209.4 kB / 0.5625 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.01684, allocations: 12.88 kB / 0.5625 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.01688, allocations: 16.38 kB / 0.5625 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.01762, allocations: 405 kB / 0.5629 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01763, allocations: 192 / 0.5629 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.01767, allocations: 12.36 kB / 0.5629 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.01773, allocations: 32.42 kB / 0.5629 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.01831, allocations: 301.7 kB / 0.5632 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.02059, allocations: 1.234 MB / 0.5644 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.0211, allocations: 241 kB / 0.5647 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.02129, allocations: 97.67 kB / 0.5648 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.071e-05/0.02137, allocations: 12.27 kB / 0.5648 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.02142, allocations: 38.56 kB / 0.5648 GB, free: 5.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 3.907e-06/0.02142, allocations: 3.984 kB / 0.5648 GB, free: 5.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.002724/0.02415, allocations: 0.8979 MB / 0.5657 GB, free: 5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.02422, allocations: 81.05 kB / 0.5658 GB, free: 4.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.02449, allocations: 218.4 kB / 0.566 GB, free: 4.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.02452, allocations: 25.7 kB / 0.566 GB, free: 4.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.02465, allocations: 172.5 kB / 0.5662 GB, free: 4.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.02474, allocations: 87.2 kB / 0.5662 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.02486, allocations: 65.64 kB / 0.5663 GB, free: 4.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.02505, allocations: 330.8 kB / 0.5666 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.0253, allocations: 131.9 kB / 0.5667 GB, free: 3.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.02561, allocations: 213.2 kB / 0.5669 GB, free: 3.613 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.02619, allocations: 368.4 kB / 0.5673 GB, free: 3.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.02619, allocations: 8 kB / 0.5673 GB, free: 3.215 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00106/0.02725, allocations: 0.5082 MB / 0.5678 GB, free: 2.688 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.02727, allocations: 4 kB / 0.5678 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.02728, allocations: 4 kB / 0.5678 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007441/0.02802, allocations: 183.5 kB / 0.568 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.02831, allocations: 59.91 kB / 0.568 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.0323, allocations: 3.942 MB / 0.5719 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.0325, allocations: 20.02 kB / 0.5719 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.03253, allocations: 12 kB / 0.5719 GB, free: 14.2 MB / 0.4948 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.03272, allocations: 161.8 kB / 0.5721 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.03281, allocations: 27.86 kB / 0.5721 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.03382, allocations: 477.9 kB / 0.5726 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.03383, allocations: 7.984 kB / 0.5726 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.03383, allocations: 0 / 0.5726 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.03384, allocations: 3.984 kB / 0.5726 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.03561, allocations: 0.901 MB / 0.5735 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.03562, allocations: 4 kB / 0.5735 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.03577, allocations: 35.97 kB / 0.5735 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/0.0364, allocations: 167.5 kB / 0.5737 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.03642, allocations: 8 kB / 0.5737 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.04024, allocations: 3.919 MB / 0.5775 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.04024, allocations: 0 / 0.5775 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/0.04123, allocations: 0.6294 MB / 0.5781 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.04135, allocations: 48.16 kB / 0.5781 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.04138, allocations: 7.984 kB / 0.5782 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.04163, allocations: 19.98 kB / 0.5782 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.04169, allocations: 19.97 kB / 0.5782 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.04171, allocations: 15.94 kB / 0.5782 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001744/0.04189, allocations: 156.4 kB / 0.5784 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.04189, allocations: 0 / 0.5784 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005415/0.04243, allocations: 91.94 kB / 0.5784 GB, free: 7.094 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.04268, allocations: 143.1 kB / 0.5786 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.04375, allocations: 0.5585 MB / 0.5791 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.04376, allocations: 0.625 kB / 0.5791 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.04439, allocations: 404.8 kB / 0.5795 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.04495, allocations: 50.42 kB / 0.5796 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.04614, allocations: 0.6246 MB / 0.5802 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.04638, allocations: 173.1 kB / 0.5803 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00018/0.04656, allocations: 66.22 kB / 0.5804 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.04662, allocations: 20.5 kB / 0.5804 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.04662, allocations: 0 / 0.5804 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of Templates: time 0.009862/0.05649, allocations: 4.194 MB / 0.5845 GB, free: 0.8203 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.659849477931857]