Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.0008684/0.0008684, 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.0009151/0.0009151, allocations: 163.4 kB / 24.96 MB, free: 8.234 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.912/0.912, 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.847/1.847, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 4 kB / 0.7759 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.146e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.002737/0.002749, allocations: 2.752 MB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.004348, allocations: 1.098 MB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.004492, allocations: 4 kB / 0.7797 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.004908, allocations: 98.14 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.005294, allocations: 151 kB / 0.7799 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.005532, allocations: 133 kB / 0.7801 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.005796, allocations: 342.7 kB / 0.7804 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.006012, allocations: 206.7 kB / 0.7806 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.006211, allocations: 196.7 kB / 0.7808 GB, free: 460 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.006399, allocations: 131.6 kB / 0.7809 GB, free: 328 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.006423, allocations: 21 kB / 0.7809 GB, free: 308 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.00656, allocations: 95.78 kB / 0.781 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.006631, allocations: 95.67 kB / 0.7811 GB, free: 116 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.006693, allocations: 84.42 kB / 0.7812 GB, free: 32 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.006934, allocations: 251.3 kB / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006935, allocations: 0.7188 kB / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.006936, allocations: 0 / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006939, allocations: 1.5 kB / 0.7814 GB, free: 15.78 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0004509/0.00739, allocations: 449 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.007418, allocations: 13.28 kB / 0.7819 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.007821, allocations: 121.7 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.008001, allocations: 189.3 kB / 0.7822 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.008013, allocations: 12.88 kB / 0.7822 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.008035, allocations: 20.38 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.008279, allocations: 302.3 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.008289, allocations: 4.828 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.008305, allocations: 9.062 kB / 0.7825 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.008331, allocations: 20.44 kB / 0.7825 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.00841, allocations: 61.12 kB / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.009093, allocations: 0.9212 MB / 0.7835 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.009272, allocations: 85.36 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.009294, allocations: 14.23 kB / 0.7836 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.009304, allocations: 4 kB / 0.7836 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.00932, allocations: 34.5 kB / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.009321, allocations: 0.8438 kB / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002/0.009521, allocations: 111.7 kB / 0.7837 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.00954, allocations: 51.41 kB / 0.7838 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.009637, allocations: 203.8 kB / 0.784 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.009647, allocations: 25.7 kB / 0.784 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.009705, allocations: 168 kB / 0.7841 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.009719, allocations: 28.89 kB / 0.7842 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.00976, allocations: 45.64 kB / 0.7842 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.009833, allocations: 322.8 kB / 0.7845 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.009852, allocations: 12.5 kB / 0.7845 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.009903, allocations: 84.14 kB / 0.7846 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.009986, allocations: 113.6 kB / 0.7847 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.009988, allocations: 4.781 kB / 0.7847 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001292/0.01012, allocations: 130.8 kB / 0.7849 GB, free: 12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.01013, allocations: 5.094 kB / 0.7849 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01013, allocations: 8 kB / 0.7849 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.01027, allocations: 37.27 kB / 0.7849 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.01035, allocations: 40.83 kB / 0.7849 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005321/0.01088, allocations: 1.19 MB / 0.7861 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.01094, allocations: 16.72 kB / 0.7861 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01095, allocations: 12 kB / 0.7861 GB, free: 10.6 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.01102, allocations: 125.5 kB / 0.7862 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.01104, allocations: 13.98 kB / 0.7863 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.01106, allocations: 21.45 kB / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.01106, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01106, allocations: 3.938 kB / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.01106, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.0113, allocations: 277.1 kB / 0.7865 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0113, allocations: 0 / 0.7865 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.01133, allocations: 11.98 kB / 0.7866 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-05/0.01141, allocations: 37.25 kB / 0.7866 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.01142, allocations: 3.984 kB / 0.7866 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005989/0.01202, allocations: 1.203 MB / 0.7878 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01202, allocations: 0 / 0.7878 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.01213, allocations: 188 kB / 0.788 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.01216, allocations: 19.91 kB / 0.788 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.01217, allocations: 0 / 0.788 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.01222, allocations: 4 kB / 0.788 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.01225, allocations: 12.55 kB / 0.788 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.01225, allocations: 0 / 0.788 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.01229, allocations: 53.36 kB / 0.788 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01229, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001764/0.01247, allocations: 60.88 kB / 0.7881 GB, free: 8.426 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.311e-05/0.01253, allocations: 84.86 kB / 0.7882 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.01271, allocations: 186.1 kB / 0.7884 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.01272, allocations: 4 kB / 0.7884 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.0128, allocations: 143.4 kB / 0.7885 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.01297, allocations: 30.42 kB / 0.7885 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01356, allocations: 400.7 kB / 0.7889 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.01361, allocations: 87.97 kB / 0.789 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.303e-05/0.01366, allocations: 17.48 kB / 0.789 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.01374, allocations: 83.28 kB / 0.7891 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01374, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.003534/0.01728, allocations: 1.992 MB / 0.791 GB, free: 5.441 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.787495758384466]