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: 116.5 kB / 16.38 MB, free: 6.008 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.001644/0.001644, allocations: 187 kB / 17.31 MB, free: 5.609 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001442/0.001442, allocations: 60.47 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2363, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.4565/0.6929, allocations: 3.199 MB / 0.7879 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.6958, allocations: 1.363 MB / 0.7892 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.6961, allocations: 10.16 kB / 0.7893 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.6974, allocations: 334.3 kB / 0.7896 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005669/0.698, allocations: 153.4 kB / 0.7897 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.6984, allocations: 139.1 kB / 0.7899 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004174/0.6988, allocations: 335.2 kB / 0.7902 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.6993, allocations: 253.6 kB / 0.7904 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.6996, allocations: 135.1 kB / 0.7905 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.6999, allocations: 153 kB / 0.7907 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.7, allocations: 23.36 kB / 0.7907 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.7003, allocations: 169.6 kB / 0.7909 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.7004, allocations: 85.81 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.7006, allocations: 120.1 kB / 0.7911 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.701, allocations: 361.2 kB / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7011, allocations: 0 / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7011, allocations: 0 / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.7011, allocations: 0 / 0.7914 GB, free: 46.44 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.00103/0.7021, allocations: 0.5409 MB / 0.7919 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7022, allocations: 7.875 kB / 0.792 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/0.7028, allocations: 80.45 kB / 0.792 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.7031, allocations: 262 kB / 0.7923 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.7032, allocations: 15.81 kB / 0.7923 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.7032, allocations: 20.45 kB / 0.7923 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.7037, allocations: 314.8 kB / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7037, allocations: 0 / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.7037, allocations: 13.44 kB / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.7038, allocations: 15.58 kB / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.7041, allocations: 215.1 kB / 0.7928 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.7055, allocations: 1.489 MB / 0.7943 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.7059, allocations: 204 kB / 0.7945 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.706, allocations: 46.88 kB / 0.7945 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.706, allocations: 0 / 0.7945 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.706, allocations: 37.97 kB / 0.7946 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.706, allocations: 2.156 kB / 0.7946 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005366/0.7066, allocations: 257.5 kB / 0.7948 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.7066, allocations: 59.81 kB / 0.7949 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.7068, allocations: 203.4 kB / 0.7951 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.7068, allocations: 31.95 kB / 0.7951 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.7069, allocations: 168.8 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.7069, allocations: 36.17 kB / 0.7953 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.707, allocations: 37.06 kB / 0.7953 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.707, allocations: 330.6 kB / 0.7956 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.7071, allocations: 46.62 kB / 0.7957 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.7073, allocations: 114 kB / 0.7958 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.7075, allocations: 165.3 kB / 0.796 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7075, allocations: 1.688 kB / 0.796 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000314/0.7078, allocations: 219.9 kB / 0.7962 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7078, allocations: 7.125 kB / 0.7962 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7078, allocations: 7.469 kB / 0.7962 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.708, allocations: 24.89 kB / 0.7962 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7082, allocations: 32.88 kB / 0.7962 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008829/0.709, allocations: 1.429 MB / 0.7976 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.7092, allocations: 14.5 kB / 0.7977 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.7092, allocations: 11.66 kB / 0.7977 GB, free: 41.94 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.0001127/0.7094, allocations: 157.6 kB / 0.7978 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.7094, allocations: 14.56 kB / 0.7978 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.7094, allocations: 25.48 kB / 0.7978 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7094, allocations: 4.531 kB / 0.7979 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7094, allocations: 0 / 0.7979 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7095, allocations: 2.812 kB / 0.7979 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.7101, allocations: 480.9 kB / 0.7983 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.7101, allocations: 4 kB / 0.7983 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.7102, allocations: 18.39 kB / 0.7983 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-05/0.7103, allocations: 24.14 kB / 0.7984 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7103, allocations: 0 / 0.7984 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006675/0.711, allocations: 1.421 MB / 0.7997 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.711, allocations: 3.188 kB / 0.7998 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.7112, allocations: 242.6 kB / 0.8 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.7113, allocations: 100.7 kB / 0.8001 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.7113, allocations: 3.375 kB / 0.8001 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.7115, allocations: 11.3 kB / 0.8001 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7115, allocations: 6.328 kB / 0.8001 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7116, allocations: 0 / 0.8001 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001582/0.7117, allocations: 148.3 kB / 0.8002 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7118, allocations: 4 kB / 0.8002 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003472/0.7121, allocations: 59.5 kB / 0.8003 GB, free: 39.79 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 9.833e-05/0.7122, allocations: 100.4 kB / 0.8004 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00041/0.7126, allocations: 224.2 kB / 0.8006 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7126, allocations: 0 / 0.8006 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.7128, allocations: 168.4 kB / 0.8008 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.7132, allocations: 39.66 kB / 0.8008 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.7139, allocations: 430.2 kB / 0.8012 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.7141, allocations: 0.7569 MB / 0.802 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.7142, allocations: 16.53 kB / 0.802 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7142, allocations: 0 / 0.802 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.007128/0.7213, allocations: 3.215 MB / 0.8051 GB, free: 38.36 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)