Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.0009588/0.0009588, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.0009706/0.0009706, allocations: 169.5 kB / 24.96 MB, free: 8.121 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.9548/0.9548, allocations: 177.1 MB / 205.4 MB, free: 5.504 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.6362 GB, free: 12.3 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7759 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.294e-05, allocations: 14.08 kB / 0.7759 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004438/0.004461, allocations: 3.022 MB / 0.7789 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.00662, allocations: 1.235 MB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.006816, allocations: 11.03 kB / 0.7801 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.007308, allocations: 111.3 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.0077, allocations: 198.7 kB / 0.7804 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.008226, allocations: 247 kB / 0.7806 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005775/0.008804, allocations: 0.5338 MB / 0.7812 GB, free: 92 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.009231, allocations: 287.9 kB / 0.7814 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.009569, allocations: 284.2 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.009978, allocations: 216.6 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.01003, allocations: 32 kB / 0.7819 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.01027, allocations: 108.5 kB / 0.782 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.0104, allocations: 143.6 kB / 0.7822 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.01054, allocations: 121.2 kB / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.011, allocations: 358.8 kB / 0.7826 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.011, allocations: 0 / 0.7826 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/0.01101, allocations: 4 kB / 0.7826 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.01101, allocations: 0.5312 kB / 0.7826 GB, free: 14.57 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007737/0.01179, allocations: 0.5413 MB / 0.7832 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.01182, allocations: 9.344 kB / 0.7832 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.01233, allocations: 120.8 kB / 0.7833 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.01258, allocations: 229.1 kB / 0.7835 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.0126, allocations: 25.02 kB / 0.7835 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.01263, allocations: 33.34 kB / 0.7836 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.013, allocations: 416.9 kB / 0.784 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.01301, allocations: 5.188 kB / 0.784 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.01304, allocations: 12.12 kB / 0.784 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.01308, allocations: 40.62 kB / 0.784 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.0132, allocations: 94.77 kB / 0.7841 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.01416, allocations: 1.171 MB / 0.7853 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.01439, allocations: 98.48 kB / 0.7854 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.01449, allocations: 65.91 kB / 0.7854 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01451, allocations: 11.92 kB / 0.7854 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.01453, allocations: 35.75 kB / 0.7855 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.562e-06/0.01453, allocations: 0 / 0.7855 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003361/0.01486, allocations: 163 kB / 0.7856 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.01489, allocations: 52.31 kB / 0.7857 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.01502, allocations: 232.8 kB / 0.7859 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01503, allocations: 33.7 kB / 0.7859 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.01511, allocations: 208.8 kB / 0.7861 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.01514, allocations: 64.11 kB / 0.7862 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.01521, allocations: 61.91 kB / 0.7862 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.01528, allocations: 331.7 kB / 0.7866 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.01532, allocations: 29.97 kB / 0.7866 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.01541, allocations: 161.4 kB / 0.7867 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01555, allocations: 189.7 kB / 0.7869 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01555, allocations: 0 / 0.7869 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002177/0.01577, allocations: 211 kB / 0.7871 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01578, allocations: 8 kB / 0.7871 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01578, allocations: 7.938 kB / 0.7871 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.01597, allocations: 47.59 kB / 0.7872 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.0161, allocations: 71.89 kB / 0.7873 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006809/0.01678, allocations: 1.202 MB / 0.7884 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01689, allocations: 37 kB / 0.7885 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.0169, allocations: 8 kB / 0.7885 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.143e-05/0.01698, allocations: 107.5 kB / 0.7886 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.092e-05/0.01707, allocations: 174.6 kB / 0.7887 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001351/0.01721, allocations: 182.5 kB / 0.7889 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.01721, allocations: 3.125 kB / 0.7889 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001847/0.01739, allocations: 189.3 kB / 0.7891 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-06/0.0174, allocations: 8 kB / 0.7891 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.0174, allocations: 5.031 kB / 0.7891 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.314e-05/0.01749, allocations: 30.64 kB / 0.7891 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01761, allocations: 72.91 kB / 0.7892 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004843/0.0181, allocations: 1.198 MB / 0.7904 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.01819, allocations: 27.88 kB / 0.7904 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01821, allocations: 17.44 kB / 0.7904 GB, free: 6.008 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 31 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.01829, allocations: 200.1 kB / 0.7906 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.01832, allocations: 24.44 kB / 0.7906 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.01835, allocations: 27.12 kB / 0.7907 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01835, allocations: 4 kB / 0.7907 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01835, allocations: 0 / 0.7907 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01836, allocations: 5.047 kB / 0.7907 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.01875, allocations: 469.2 kB / 0.7911 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01875, allocations: 0 / 0.7911 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.01883, allocations: 36.91 kB / 0.7912 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.973e-05/0.01892, allocations: 35.52 kB / 0.7912 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01893, allocations: 7.938 kB / 0.7912 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004546/0.01938, allocations: 1.185 MB / 0.7923 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.01938, allocations: 7.875 kB / 0.7924 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.01953, allocations: 226.9 kB / 0.7926 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.01957, allocations: 28.91 kB / 0.7926 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.01959, allocations: 7.938 kB / 0.7926 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.01965, allocations: 7.984 kB / 0.7926 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.01969, allocations: 24.56 kB / 0.7926 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.0197, allocations: 11.94 kB / 0.7927 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.01974, allocations: 67.59 kB / 0.7927 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01974, allocations: 0 / 0.7927 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003012/0.02004, allocations: 157.1 kB / 0.7929 GB, free: 3.34 MB / 0.7448 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 (18): * 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: 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 7.991e-05/0.02012, allocations: 84.41 kB / 0.7929 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.02049, allocations: 428.8 kB / 0.7934 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.0205, allocations: 6.438 kB / 0.7934 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.02059, allocations: 168 kB / 0.7935 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.02083, allocations: 76.25 kB / 0.7936 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.02156, allocations: 0.5461 MB / 0.7941 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.385e-05/0.02162, allocations: 113.8 kB / 0.7942 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.02172, allocations: 28.88 kB / 0.7943 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.02185, allocations: 112.1 kB / 0.7944 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.02185, allocations: 0 / 0.7944 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of Templates: time 0.005443/0.02729, allocations: 3.932 MB / 0.7982 GB, free: 13.91 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.961364317685366]