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.00118/0.00118, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001184/0.001184, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.63/1.63, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.908/1.908, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001487/0.001487, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3114, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.5583/0.8698, allocations: 3.193 MB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.8721, allocations: 1.368 MB / 0.7892 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.8723, allocations: 7.375 kB / 0.7893 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.8733, allocations: 332.4 kB / 0.7896 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.8736, allocations: 151.1 kB / 0.7897 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.874, allocations: 148.9 kB / 0.7899 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.8743, allocations: 330.1 kB / 0.7902 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.8748, allocations: 253.4 kB / 0.7904 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.8749, allocations: 141.3 kB / 0.7905 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.8752, allocations: 147.2 kB / 0.7907 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.8753, allocations: 21.03 kB / 0.7907 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.8756, allocations: 167.8 kB / 0.7909 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.8756, allocations: 90 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.8758, allocations: 120.7 kB / 0.7911 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.8762, allocations: 362 kB / 0.7914 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8762, allocations: 0.625 kB / 0.7914 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8762, allocations: 0 / 0.7914 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8762, allocations: 1.906 kB / 0.7914 GB, free: 46.54 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.0008378/0.877, allocations: 0.5293 MB / 0.7919 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8771, allocations: 12.72 kB / 0.7919 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.8777, allocations: 88.39 kB / 0.792 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.878, allocations: 250 kB / 0.7923 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.878, allocations: 13.56 kB / 0.7923 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.878, allocations: 24.06 kB / 0.7923 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.8785, allocations: 321.3 kB / 0.7926 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8785, allocations: 1.031 kB / 0.7926 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.8785, allocations: 10.67 kB / 0.7926 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.8786, allocations: 17.81 kB / 0.7926 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.8789, allocations: 212.5 kB / 0.7928 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.8801, allocations: 1.49 MB / 0.7943 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.8805, allocations: 206.3 kB / 0.7945 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.8806, allocations: 47.61 kB / 0.7945 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.8806, allocations: 2.344 kB / 0.7945 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.8807, allocations: 32.67 kB / 0.7946 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.8807, allocations: 0.5 kB / 0.7946 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005106/0.8812, allocations: 265.5 kB / 0.7948 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.8812, allocations: 51.41 kB / 0.7949 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.8814, allocations: 205.1 kB / 0.7951 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.8814, allocations: 27.98 kB / 0.7951 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.8815, allocations: 176.7 kB / 0.7953 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.8815, allocations: 33.83 kB / 0.7953 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.8816, allocations: 36.3 kB / 0.7953 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.8816, allocations: 330.8 kB / 0.7956 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.8817, allocations: 46.42 kB / 0.7957 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.8818, allocations: 111.2 kB / 0.7958 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.8821, allocations: 168.6 kB / 0.796 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8821, allocations: 0 / 0.796 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003578/0.8825, allocations: 216.1 kB / 0.7962 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8825, allocations: 11.38 kB / 0.7962 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8825, allocations: 4.344 kB / 0.7962 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.8827, allocations: 25.48 kB / 0.7962 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8828, allocations: 28.27 kB / 0.7962 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009209/0.8838, allocations: 1.433 MB / 0.7976 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.8839, allocations: 21.34 kB / 0.7977 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.884, allocations: 6.719 kB / 0.7977 GB, free: 42.03 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.0001247/0.8841, allocations: 156.6 kB / 0.7978 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.8841, allocations: 14.5 kB / 0.7978 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.8842, allocations: 25.52 kB / 0.7978 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8842, allocations: 0 / 0.7978 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8842, allocations: 0 / 0.7978 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.8843, allocations: 104.4 kB / 0.7979 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.8843, allocations: 0 / 0.7979 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.8844, allocations: 6.844 kB / 0.798 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.8845, allocations: 15.11 kB / 0.798 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002892/0.8848, allocations: 214.7 kB / 0.7982 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002638/0.885, allocations: 328.5 kB / 0.7985 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.97e-05/0.8851, allocations: 38.38 kB / 0.7985 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.8852, allocations: 143.5 kB / 0.7987 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/0.8852, allocations: 0 / 0.7987 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008412/0.8861, allocations: 386.7 kB / 0.799 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007638/0.8868, allocations: 0.8595 MB / 0.7999 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.006708/0.8936, allocations: 2.729 MB / 0.8025 GB, free: 40.33 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)