Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 103.5 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.001421, allocations: 185.1 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.934/1.934, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 75.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3213, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006294/0.3277, allocations: 3.187 MB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5582/0.8859, allocations: 1.369 MB / 0.7885 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.8862, allocations: 5.5 kB / 0.7885 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000982/0.8872, allocations: 339.1 kB / 0.7889 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.8876, allocations: 147.9 kB / 0.789 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.888, allocations: 148.2 kB / 0.7891 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.8884, allocations: 330.2 kB / 0.7895 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.8888, allocations: 252.2 kB / 0.7897 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.889, allocations: 139.3 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.8893, allocations: 149.4 kB / 0.79 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.8894, allocations: 18.94 kB / 0.79 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.8896, allocations: 166.1 kB / 0.7901 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-05/0.8898, allocations: 91.3 kB / 0.7902 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.8899, allocations: 118.2 kB / 0.7903 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.8903, allocations: 362 kB / 0.7907 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8903, allocations: 0 / 0.7907 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8903, allocations: 0 / 0.7907 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8903, allocations: 0 / 0.7907 GB, free: 45.93 MB / 0.6544 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.0009324/0.8913, allocations: 0.536 MB / 0.7912 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.8913, allocations: 10.69 kB / 0.7912 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.8919, allocations: 78.61 kB / 0.7913 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.8922, allocations: 252.9 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.8923, allocations: 20.11 kB / 0.7916 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.8923, allocations: 18.56 kB / 0.7916 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.8928, allocations: 316.3 kB / 0.7919 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.8928, allocations: 3.938 kB / 0.7919 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.8929, allocations: 10 kB / 0.7919 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.8929, allocations: 16.97 kB / 0.7919 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.8933, allocations: 210.6 kB / 0.7921 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.8947, allocations: 1.494 MB / 0.7936 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.8951, allocations: 201.4 kB / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.8952, allocations: 43.19 kB / 0.7938 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.8952, allocations: 6.984 kB / 0.7938 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.8952, allocations: 38.52 kB / 0.7938 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.8952, allocations: 0 / 0.7938 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005262/0.8958, allocations: 259.3 kB / 0.7941 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.8958, allocations: 55.34 kB / 0.7941 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.896, allocations: 211.4 kB / 0.7943 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.896, allocations: 29.11 kB / 0.7944 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.8961, allocations: 174.8 kB / 0.7945 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.8961, allocations: 31.36 kB / 0.7946 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.8962, allocations: 36.34 kB / 0.7946 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.8962, allocations: 334.6 kB / 0.7949 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.8963, allocations: 43.55 kB / 0.795 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.8965, allocations: 111.2 kB / 0.7951 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.8967, allocations: 166.9 kB / 0.7952 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8967, allocations: 4.031 kB / 0.7952 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003181/0.897, allocations: 213.5 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.897, allocations: 6.906 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.897, allocations: 3.344 kB / 0.7954 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.8972, allocations: 30.72 kB / 0.7955 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.8974, allocations: 33.28 kB / 0.7955 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009076/0.8983, allocations: 1.43 MB / 0.7969 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.8984, allocations: 20.16 kB / 0.7969 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.8985, allocations: 6.562 kB / 0.7969 GB, free: 41.43 MB / 0.6544 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 0.0001395/0.8986, allocations: 155.5 kB / 0.7971 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.8986, allocations: 16.45 kB / 0.7971 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.8987, allocations: 18.45 kB / 0.7971 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.8987, allocations: 7.531 kB / 0.7971 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.8987, allocations: 0 / 0.7971 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8987, allocations: 0 / 0.7971 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.8992, allocations: 490.9 kB / 0.7976 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8992, allocations: 1.938 kB / 0.7976 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.8993, allocations: 10.2 kB / 0.7976 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-05/0.8993, allocations: 25.41 kB / 0.7976 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8994, allocations: 7.375 kB / 0.7976 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006657/0.9, allocations: 1.422 MB / 0.799 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9, allocations: 0 / 0.799 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.9003, allocations: 242.4 kB / 0.7993 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.9003, allocations: 100.2 kB / 0.7993 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.9004, allocations: 0 / 0.7993 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.9005, allocations: 14.22 kB / 0.7994 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.9005, allocations: 10.36 kB / 0.7994 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.9006, allocations: 0 / 0.7994 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001217/0.9007, allocations: 148.8 kB / 0.7995 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9007, allocations: 0 / 0.7995 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003227/0.901, allocations: 56.28 kB / 0.7996 GB, free: 39.29 MB / 0.6544 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 0.0001015/0.9011, allocations: 103.5 kB / 0.7997 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.9015, allocations: 230.3 kB / 0.7999 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9015, allocations: 0 / 0.7999 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.9017, allocations: 166.7 kB / 0.8 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.9021, allocations: 44.33 kB / 0.8001 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.9027, allocations: 385.8 kB / 0.8005 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.9029, allocations: 0.7585 MB / 0.8012 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.951e-05/0.903, allocations: 29.75 kB / 0.8012 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.903, allocations: 14.44 kB / 0.8012 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.903, allocations: 0 / 0.8012 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.005621/0.9087, allocations: 1.929 MB / 0.8031 GB, free: 37.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)