Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001275/0.001275, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.56 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3706, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006419/0.3771, allocations: 3.228 MB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002812/0.3799, allocations: 1.375 MB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.3802, allocations: 4 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.3813, allocations: 330.7 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.3819, allocations: 159.1 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.3824, allocations: 151.6 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000495/0.3829, allocations: 326.9 kB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.3834, allocations: 256 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.3837, allocations: 135.5 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.3841, allocations: 139.5 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.3842, allocations: 20 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.3846, allocations: 171.6 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.3847, allocations: 83.73 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3849, allocations: 123.4 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.3855, allocations: 354.9 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3855, allocations: 3.938 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3855, allocations: 4 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.3856, allocations: 0 / 1.075 GB, free: 3.613 MB / 0.8262 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.001219/0.3868, allocations: 0.5302 MB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3868, allocations: 8.031 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007552/0.3876, allocations: 84.48 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.388, allocations: 256.5 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.388, allocations: 12.81 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.388, allocations: 16.38 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.3886, allocations: 324.6 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3886, allocations: 0 / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.3887, allocations: 12 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.3887, allocations: 20.42 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.3891, allocations: 205.6 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3909, allocations: 1.494 MB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.3913, allocations: 207.6 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/0.3914, allocations: 48.83 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3914, allocations: 4 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3915, allocations: 34.56 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.3915, allocations: 0 / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.392, allocations: 263.3 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3921, allocations: 51.41 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3923, allocations: 211.7 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3923, allocations: 29.64 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.3924, allocations: 163.7 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.3925, allocations: 35.53 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.3925, allocations: 37.7 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3927, allocations: 330.8 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3928, allocations: 47.97 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3929, allocations: 108.6 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.3932, allocations: 176.3 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3932, allocations: 4.062 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004662/0.3937, allocations: 210 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3937, allocations: 4 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3937, allocations: 7.984 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.3939, allocations: 29.12 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.394, allocations: 39.86 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.3952, allocations: 1.429 MB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.3954, allocations: 15.88 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3954, allocations: 12 kB / 1.081 GB, free: 12.61 MB / 0.8419 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.000141/0.3956, allocations: 147.2 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3956, allocations: 15.81 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.3957, allocations: 21.39 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3957, allocations: 0 / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3957, allocations: 7.938 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3957, allocations: 0 / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.3963, allocations: 483.2 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3963, allocations: 3.984 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.3964, allocations: 23.94 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.25e-05/0.3965, allocations: 20.84 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3965, allocations: 0 / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.3975, allocations: 1.437 MB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3976, allocations: 0 / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3979, allocations: 232.2 kB / 1.083 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.3979, allocations: 100.9 kB / 1.083 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.398, allocations: 4 kB / 1.083 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3981, allocations: 12.08 kB / 1.083 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.3982, allocations: 3.938 kB / 1.083 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3982, allocations: 7.984 kB / 1.083 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001333/0.3983, allocations: 149.5 kB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3983, allocations: 7.938 kB / 1.084 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003445/0.3987, allocations: 59.78 kB / 1.084 GB, free: 9.656 MB / 0.8419 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.0001464/0.3988, allocations: 104.8 kB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.3993, allocations: 235.6 kB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3993, allocations: 64 / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3995, allocations: 166.6 kB / 1.084 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3999, allocations: 41.11 kB / 1.084 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.4006, allocations: 399.7 kB / 1.085 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4009, allocations: 0.7592 MB / 1.085 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.4011, allocations: 25.53 kB / 1.085 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.4011, allocations: 15.44 kB / 1.085 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4011, allocations: 0 / 1.085 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.005075/0.4062, allocations: 1.926 MB / 1.087 GB, free: 5.941 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)