Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001305/0.001305, allocations: 80.75 kB / 20.82 MB, free: 3.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.001847/0.001847, allocations: 169 kB / 24.25 MB, free: 208 kB / 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.9449/0.9449, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.827/1.827, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.796e-05, allocations: 5.406 kB / 0.7754 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005945/0.005973, allocations: 3.728 MB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004823/0.0108, allocations: 2.614 MB / 0.7816 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.01125, allocations: 20.34 kB / 0.7816 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.01228, allocations: 223.7 kB / 0.7818 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.0134, allocations: 377.1 kB / 0.7822 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.014, allocations: 218.5 kB / 0.7824 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.01486, allocations: 0.6266 MB / 0.783 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.01541, allocations: 349.7 kB / 0.7833 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.01623, allocations: 440.3 kB / 0.7837 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.01676, allocations: 265 kB / 0.784 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.01684, allocations: 40 kB / 0.784 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.01736, allocations: 207.6 kB / 0.7842 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.01754, allocations: 183.5 kB / 0.7844 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.01772, allocations: 151.6 kB / 0.7845 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.01858, allocations: 0.5106 MB / 0.785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01858, allocations: 1.25 kB / 0.785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01858, allocations: 0 / 0.785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.0186, allocations: 0 / 0.785 GB, free: 11.41 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001024/0.01962, allocations: 0.6368 MB / 0.7857 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.01966, allocations: 13.34 kB / 0.7857 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.02085, allocations: 230.4 kB / 0.7859 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.02145, allocations: 320.3 kB / 0.7862 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.02148, allocations: 21.03 kB / 0.7862 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.02157, allocations: 32.36 kB / 0.7862 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.0224, allocations: 438.7 kB / 0.7867 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.02242, allocations: 5 kB / 0.7867 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.02247, allocations: 12 kB / 0.7867 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-05/0.02256, allocations: 28.62 kB / 0.7867 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.02322, allocations: 130.8 kB / 0.7868 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.02548, allocations: 1.354 MB / 0.7882 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.02595, allocations: 171.6 kB / 0.7883 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.02605, allocations: 38.06 kB / 0.7884 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.02611, allocations: 19.23 kB / 0.7884 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.02614, allocations: 34.5 kB / 0.7884 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.02614, allocations: 0 / 0.7884 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.003171/0.02931, allocations: 0.6918 MB / 0.7891 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.02935, allocations: 55.41 kB / 0.7891 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.02963, allocations: 287.4 kB / 0.7894 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.02966, allocations: 29.7 kB / 0.7894 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.02979, allocations: 213.4 kB / 0.7896 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.02985, allocations: 63.45 kB / 0.7897 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.02997, allocations: 58.66 kB / 0.7898 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.03008, allocations: 338.8 kB / 0.7901 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.0302, allocations: 51.23 kB / 0.7901 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.03036, allocations: 148.5 kB / 0.7903 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.03065, allocations: 174.5 kB / 0.7904 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.03065, allocations: 4 kB / 0.7904 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008778/0.03153, allocations: 310.5 kB / 0.7907 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.03155, allocations: 4.906 kB / 0.7907 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.03156, allocations: 4 kB / 0.7907 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.03318, allocations: 400 kB / 0.7911 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.03349, allocations: 60.56 kB / 0.7912 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.03541, allocations: 1.419 MB / 0.7926 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.03574, allocations: 20.83 kB / 0.7926 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.03578, allocations: 11.92 kB / 0.7926 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002554/0.03603, allocations: 129 kB / 0.7927 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.03619, allocations: 141.6 kB / 0.7929 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002505/0.03644, allocations: 169.6 kB / 0.793 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.055e-06/0.03644, allocations: 0 / 0.793 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0005069/0.03695, allocations: 224.5 kB / 0.7932 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.03696, allocations: 11.94 kB / 0.7932 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.03697, allocations: 1.062 kB / 0.7932 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/0.03728, allocations: 87.31 kB / 0.7933 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.03754, allocations: 51.95 kB / 0.7934 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.03901, allocations: 1.341 MB / 0.7947 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.0393, allocations: 15.98 kB / 0.7947 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.03934, allocations: 11.98 kB / 0.7947 GB, free: 1.027 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.03948, allocations: 192.7 kB / 0.7949 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.03955, allocations: 21.86 kB / 0.7949 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/0.04038, allocations: 283.8 kB / 0.7952 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.04038, allocations: 11.92 kB / 0.7952 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.04039, allocations: 1.125 kB / 0.7952 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.04039, allocations: 0 / 0.7952 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.04158, allocations: 0.5521 MB / 0.7957 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.04158, allocations: 0 / 0.7957 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.04175, allocations: 39.91 kB / 0.7958 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/0.0427, allocations: 294.1 kB / 0.7961 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.04272, allocations: 4 kB / 0.7961 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.04419, allocations: 1.403 MB / 0.7974 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.04419, allocations: 3.938 kB / 0.7974 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.04485, allocations: 367.5 kB / 0.7978 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.04498, allocations: 48.5 kB / 0.7978 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.04503, allocations: 4 kB / 0.7978 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.04525, allocations: 19.98 kB / 0.7979 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.04532, allocations: 27.78 kB / 0.7979 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.04535, allocations: 4 kB / 0.7979 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000172/0.04552, allocations: 112.6 kB / 0.798 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.04552, allocations: 0 / 0.798 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006906/0.04621, allocations: 164 kB / 0.7982 GB, free: 13.36 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.04638, allocations: 88.41 kB / 0.7982 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009862/0.04737, allocations: 0.5215 MB / 0.7987 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.04738, allocations: 4 kB / 0.7987 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.04768, allocations: 219.8 kB / 0.799 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.04821, allocations: 121.8 kB / 0.7991 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.04981, allocations: 0.7358 MB / 0.7998 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.04996, allocations: 153.2 kB / 0.7999 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.0503, allocations: 74.94 kB / 0.8 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.05061, allocations: 125.3 kB / 0.8001 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of SimCode: time 1.322e-06/0.05061, allocations: 4 kB / 0.8001 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of Templates: time 0.01721/0.06782, allocations: 9.599 MB / 0.8095 GB, free: 1.754 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.116655589081347]