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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001403/0.001403, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.534/1.534, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.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.704/1.704, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001612/0.001612, allocations: 64.28 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.317, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.007786/0.3248, allocations: 3.253 MB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.3283, allocations: 1.36 MB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.3287, allocations: 7.938 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.3302, allocations: 325.8 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.3308, allocations: 143.4 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.3315, allocations: 131.7 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007921/0.3323, allocations: 458.7 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.3328, allocations: 167.8 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.3332, allocations: 127.5 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.3337, allocations: 151.4 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.3338, allocations: 12 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006185/0.3344, allocations: 211.6 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3346, allocations: 71.8 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.3348, allocations: 123.4 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007702/0.3356, allocations: 359.1 kB / 0.7894 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3356, allocations: 4 kB / 0.7894 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3357, allocations: 4 kB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.3357, allocations: 0 / 0.7894 GB, free: 7.129 MB / 0.6075 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.001697/0.3374, allocations: 0.5341 MB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.76e-05/0.3375, allocations: 12.03 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.3384, allocations: 80.5 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.339, allocations: 251.8 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.339, allocations: 16.8 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.3391, allocations: 16.38 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/0.3399, allocations: 316.6 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.34, allocations: 0 / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.34, allocations: 8 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.3401, allocations: 20.42 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3407, allocations: 209.6 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.3432, allocations: 1.513 MB / 0.7922 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.3438, allocations: 199.6 kB / 0.7924 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.344, allocations: 48.84 kB / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.344, allocations: 0 / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.344, allocations: 30.62 kB / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.344, allocations: 0 / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007845/0.3448, allocations: 267.4 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3449, allocations: 55.41 kB / 0.7928 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.3452, allocations: 211.6 kB / 0.793 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3452, allocations: 25.7 kB / 0.7931 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.3454, allocations: 167.7 kB / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3454, allocations: 35.5 kB / 0.7932 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3456, allocations: 37.7 kB / 0.7933 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3457, allocations: 330.8 kB / 0.7936 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3459, allocations: 51.97 kB / 0.7936 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3461, allocations: 108.5 kB / 0.7937 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.3464, allocations: 164.4 kB / 0.7939 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3465, allocations: 8 kB / 0.7939 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005718/0.347, allocations: 210 kB / 0.7941 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.3471, allocations: 4 kB / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3471, allocations: 4 kB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.3474, allocations: 33.12 kB / 0.7942 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.3476, allocations: 39.86 kB / 0.7942 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.3492, allocations: 1.319 MB / 0.7955 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3494, allocations: 23.77 kB / 0.7955 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.3494, allocations: 8 kB / 0.7955 GB, free: 252 kB / 0.6075 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.0002104/0.3497, allocations: 137.8 kB / 0.7956 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.3498, allocations: 23.75 kB / 0.7957 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.3498, allocations: 25.39 kB / 0.7957 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3498, allocations: 8.078 kB / 0.7957 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3498, allocations: 0 / 0.7957 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3499, allocations: 3.938 kB / 0.7957 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.3508, allocations: 487.2 kB / 0.7962 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3508, allocations: 0 / 0.7962 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.3509, allocations: 19.86 kB / 0.7962 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.351, allocations: 28.84 kB / 0.7962 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3511, allocations: 96 / 0.7962 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.3523, allocations: 1.323 MB / 0.7975 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3523, allocations: 3.938 kB / 0.7975 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.3527, allocations: 232.2 kB / 0.7977 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3529, allocations: 104.8 kB / 0.7978 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3529, allocations: 4 kB / 0.7978 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3531, allocations: 7.984 kB / 0.7978 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3531, allocations: 8.062 kB / 0.7978 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3532, allocations: 4 kB / 0.7978 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001929/0.3534, allocations: 149.5 kB / 0.798 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.82e-07/0.3534, allocations: 0 / 0.798 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005055/0.3539, allocations: 55.84 kB / 0.798 GB, free: 13.41 MB / 0.6231 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.000155/0.3541, allocations: 103.2 kB / 0.7981 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005937/0.3547, allocations: 230.5 kB / 0.7984 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3547, allocations: 0 / 0.7984 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.355, allocations: 162.6 kB / 0.7985 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.3555, allocations: 33.23 kB / 0.7986 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3566, allocations: 486.5 kB / 0.799 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3571, allocations: 0.7632 MB / 0.7998 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.3573, allocations: 37.5 kB / 0.7998 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.3574, allocations: 15.44 kB / 0.7998 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.3574, allocations: 0 / 0.7998 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.006827/0.3642, allocations: 1.833 MB / 0.8016 GB, free: 9.699 MB / 0.6231 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)