Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001322/0.001322, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001257/0.001257, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002614, allocations: 288.6 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.194/1.194, allocations: 178.5 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002723, allocations: 95.84 kB / 0.6071 GB, free: 9.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1767, allocations: 89.14 MB / 0.6942 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005162/0.1819, allocations: 3.204 MB / 0.6973 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1844, allocations: 1.359 MB / 0.6986 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1845, allocations: 11.94 kB / 0.6986 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1856, allocations: 334.7 kB / 0.6989 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.1861, allocations: 147.2 kB / 0.6991 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.1865, allocations: 143.6 kB / 0.6992 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.187, allocations: 326.9 kB / 0.6995 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.1874, allocations: 255.9 kB / 0.6998 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.1877, allocations: 139.5 kB / 0.6999 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.188, allocations: 151.4 kB / 0.7001 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.188, allocations: 16 kB / 0.7001 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.1884, allocations: 171.6 kB / 0.7002 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1885, allocations: 87.72 kB / 0.7003 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1886, allocations: 115.5 kB / 0.7004 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.1891, allocations: 362.8 kB / 0.7008 GB, free: 9.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1891, allocations: 0 / 0.7008 GB, free: 9.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.717e-06/0.1891, allocations: 0 / 0.7008 GB, free: 9.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1892, allocations: 3.938 kB / 0.7008 GB, free: 9.219 MB / 0.545 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.001012/0.1902, allocations: 0.5302 MB / 0.7013 GB, free: 8.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1902, allocations: 12.03 kB / 0.7013 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.1909, allocations: 84.58 kB / 0.7014 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.1912, allocations: 251.8 kB / 0.7016 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1913, allocations: 16.75 kB / 0.7016 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.1913, allocations: 24.38 kB / 0.7017 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.1919, allocations: 304.7 kB / 0.702 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1919, allocations: 4 kB / 0.702 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.1919, allocations: 15.92 kB / 0.702 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.192, allocations: 20.42 kB / 0.702 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1924, allocations: 213.6 kB / 0.7022 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.1943, allocations: 1.498 MB / 0.7037 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.1947, allocations: 199.7 kB / 0.7039 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1949, allocations: 48.83 kB / 0.7039 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1949, allocations: 3.938 kB / 0.7039 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1949, allocations: 34.56 kB / 0.7039 GB, free: 5.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.195, allocations: 0 / 0.7039 GB, free: 5.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006485/0.1956, allocations: 271.7 kB / 0.7042 GB, free: 5.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1957, allocations: 51.41 kB / 0.7042 GB, free: 5.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1959, allocations: 200.4 kB / 0.7044 GB, free: 5.113 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1959, allocations: 29.64 kB / 0.7045 GB, free: 5.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1961, allocations: 175.7 kB / 0.7046 GB, free: 4.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1961, allocations: 39.48 kB / 0.7047 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.1962, allocations: 33.7 kB / 0.7047 GB, free: 4.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1963, allocations: 334.8 kB / 0.705 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1965, allocations: 47.92 kB / 0.7051 GB, free: 4.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1966, allocations: 100.6 kB / 0.7052 GB, free: 4.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1969, allocations: 172.4 kB / 0.7053 GB, free: 4.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1969, allocations: 4 kB / 0.7053 GB, free: 4.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00041/0.1973, allocations: 210 kB / 0.7055 GB, free: 3.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1973, allocations: 8.281 kB / 0.7055 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1974, allocations: 4 kB / 0.7055 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.1975, allocations: 36.77 kB / 0.7056 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1977, allocations: 31.98 kB / 0.7056 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.1992, allocations: 1.425 MB / 0.707 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1993, allocations: 19.84 kB / 0.707 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1994, allocations: 4 kB / 0.707 GB, free: 2.227 MB / 0.545 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.000179/0.1995, allocations: 155.1 kB / 0.7072 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.1996, allocations: 15.81 kB / 0.7072 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.1996, allocations: 25.38 kB / 0.7072 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1997, allocations: 4 kB / 0.7072 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1997, allocations: 0 / 0.7072 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1997, allocations: 0 / 0.7072 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.2004, allocations: 499 kB / 0.7077 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2004, allocations: 0 / 0.7077 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.2004, allocations: 11.98 kB / 0.7077 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.804e-05/0.2005, allocations: 24.84 kB / 0.7077 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2006, allocations: 0 / 0.7077 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2613/0.4618, allocations: 1.415 MB / 0.7091 GB, free: 49.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4619, allocations: 0.5156 kB / 0.7091 GB, free: 49.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.4623, allocations: 237.4 kB / 0.7093 GB, free: 49.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.4623, allocations: 99.28 kB / 0.7094 GB, free: 49.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4624, allocations: 4.438 kB / 0.7094 GB, free: 49.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4625, allocations: 9.312 kB / 0.7094 GB, free: 49.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4626, allocations: 6.25 kB / 0.7094 GB, free: 49.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.4626, allocations: 8.953 kB / 0.7095 GB, free: 49.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001119/0.4627, allocations: 148.5 kB / 0.7096 GB, free: 49.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4627, allocations: 0.5625 kB / 0.7096 GB, free: 49.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004146/0.4631, allocations: 57.5 kB / 0.7097 GB, free: 49.08 MB / 0.545 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 8.773e-05/0.4632, allocations: 104.6 kB / 0.7098 GB, free: 48.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.4637, allocations: 234.6 kB / 0.71 GB, free: 48.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4637, allocations: 1.625 kB / 0.71 GB, free: 48.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.4638, allocations: 159 kB / 0.7101 GB, free: 48.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.4642, allocations: 36.33 kB / 0.7102 GB, free: 48.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.4649, allocations: 442.2 kB / 0.7106 GB, free: 48.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.465, allocations: 0.754 MB / 0.7113 GB, free: 47.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.4651, allocations: 16.92 kB / 0.7113 GB, free: 47.86 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4651, allocations: 0 / 0.7113 GB, free: 47.86 MB / 0.545 GB Notification: Performance of Templates: time 0.004723/0.4698, allocations: 3.23 MB / 0.7145 GB, free: 47.76 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)