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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 194.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 97.95 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005397/0.3271, allocations: 3.244 MB / 0.9854 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3295, allocations: 1.38 MB / 0.9867 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3297, allocations: 4 kB / 0.9867 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3308, allocations: 323 kB / 0.987 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3311, allocations: 143.3 kB / 0.9872 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3314, allocations: 131.7 kB / 0.9873 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.3319, allocations: 462.7 kB / 0.9877 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.3322, allocations: 163.8 kB / 0.9879 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3325, allocations: 131.5 kB / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3328, allocations: 147.4 kB / 0.9882 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.3328, allocations: 19.94 kB / 0.9882 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.3332, allocations: 211.6 kB / 0.9884 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3333, allocations: 79.78 kB / 0.9885 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3334, allocations: 115.4 kB / 0.9886 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.3338, allocations: 359.1 kB / 0.9889 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3339, allocations: 0 / 0.9889 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3339, allocations: 0 / 0.9889 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3339, allocations: 4 kB / 0.9889 GB, free: 3.5 MB / 0.7136 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.0009707/0.3349, allocations: 0.5457 MB / 0.9895 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3349, allocations: 8.031 kB / 0.9895 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005689/0.3355, allocations: 80.59 kB / 0.9895 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3358, allocations: 244 kB / 0.9898 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.3359, allocations: 16.75 kB / 0.9898 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.3359, allocations: 20.36 kB / 0.9898 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.3364, allocations: 324.6 kB / 0.9901 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3364, allocations: 0 / 0.9901 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.3364, allocations: 11.98 kB / 0.9901 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.3365, allocations: 16.44 kB / 0.9901 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.3369, allocations: 205.6 kB / 0.9903 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.3385, allocations: 1.505 MB / 0.9918 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.3389, allocations: 207.7 kB / 0.992 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.39e-05/0.339, allocations: 40.84 kB / 0.992 GB, free: 0 / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.3391, allocations: 4.047 kB / 0.992 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3391, allocations: 30.56 kB / 0.9921 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3391, allocations: 0 / 0.9921 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000569/0.3397, allocations: 271.2 kB / 0.9923 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3397, allocations: 51.41 kB / 0.9924 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3399, allocations: 212.4 kB / 0.9926 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3399, allocations: 25.7 kB / 0.9926 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3401, allocations: 171.6 kB / 0.9928 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3401, allocations: 23.66 kB / 0.9928 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.3402, allocations: 45.61 kB / 0.9928 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3403, allocations: 330.8 kB / 0.9932 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.3404, allocations: 43.97 kB / 0.9932 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3406, allocations: 115.1 kB / 0.9933 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3408, allocations: 168.4 kB / 0.9935 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3408, allocations: 0 / 0.9935 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003478/0.3412, allocations: 214 kB / 0.9937 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3412, allocations: 8.906 kB / 0.9937 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3412, allocations: 4 kB / 0.9937 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.3414, allocations: 24.84 kB / 0.9937 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3416, allocations: 39.86 kB / 0.9937 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.3427, allocations: 1.319 MB / 0.995 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3429, allocations: 23.77 kB / 0.9951 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3429, allocations: 8 kB / 0.9951 GB, free: 12.61 MB / 0.7292 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.0001757/0.3431, allocations: 153.7 kB / 0.9952 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3431, allocations: 23.84 kB / 0.9952 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.3432, allocations: 21.39 kB / 0.9953 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3432, allocations: 4 kB / 0.9953 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3432, allocations: 0 / 0.9953 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3432, allocations: 0 / 0.9953 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.3439, allocations: 483.2 kB / 0.9957 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3439, allocations: 4.062 kB / 0.9957 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.344, allocations: 23.92 kB / 0.9957 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.836e-05/0.344, allocations: 20.84 kB / 0.9958 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3441, allocations: 4 kB / 0.9958 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.3451, allocations: 1.323 MB / 0.9971 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3451, allocations: 0 / 0.9971 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.3458, allocations: 0.8495 MB / 0.9979 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.3459, allocations: 104.8 kB / 0.998 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3459, allocations: 0 / 0.998 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.3461, allocations: 7.984 kB / 0.998 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.3461, allocations: 4 kB / 0.998 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3461, allocations: 7.984 kB / 0.998 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001344/0.3463, allocations: 145.5 kB / 0.9981 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3463, allocations: 0 / 0.9981 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004388/0.3467, allocations: 55.84 kB / 0.9982 GB, free: 9.117 MB / 0.7292 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.0001688/0.3469, allocations: 107.3 kB / 0.9983 GB, free: 9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.3474, allocations: 230.5 kB / 0.9985 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3474, allocations: 0 / 0.9985 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.3477, allocations: 167.2 kB / 0.9987 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3481, allocations: 32.69 kB / 0.9987 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.349, allocations: 0.5912 MB / 0.9993 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3494, allocations: 0.7593 MB / 1 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.3496, allocations: 29.52 kB / 1 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3496, allocations: 19.38 kB / 1 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.3496, allocations: 0 / 1 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of Templates: time 0.005318/0.3549, allocations: 1.904 MB / 1.002 GB, free: 5.211 MB / 0.7292 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)