Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001478/0.001478, 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.00184/0.00184, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 62.56 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004829/0.4, allocations: 3.253 MB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.4022, allocations: 1.371 MB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.4024, allocations: 11.94 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.4034, allocations: 319 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.4037, allocations: 139.4 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.4041, allocations: 135.7 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.4045, allocations: 454.7 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.4049, allocations: 174.1 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.4051, allocations: 123.5 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.4054, allocations: 151.5 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.4054, allocations: 16 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.4057, allocations: 215.5 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.4058, allocations: 71.8 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.406, allocations: 119.4 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.4064, allocations: 367.1 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4064, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4065, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.4065, allocations: 0 / 1.074 GB, free: 3.984 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.0009457/0.4074, allocations: 0.5341 MB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4075, allocations: 12.03 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.4081, allocations: 84.48 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.4084, allocations: 245.6 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4084, allocations: 16.8 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.4085, allocations: 20.38 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.4091, allocations: 320.5 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4091, allocations: 0 / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.4091, allocations: 8 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.4092, allocations: 20.42 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.4096, allocations: 209.6 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.4114, allocations: 1.505 MB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.4119, allocations: 199.6 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.412, allocations: 48.83 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.4121, allocations: 0 / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4121, allocations: 34.56 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.4121, allocations: 0 / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.4127, allocations: 267.3 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4128, allocations: 51.41 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.413, allocations: 211.6 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.413, allocations: 25.7 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4131, allocations: 175.7 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.4132, allocations: 31.55 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.4133, allocations: 37.7 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4134, allocations: 330.8 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.4135, allocations: 43.97 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.4136, allocations: 106.1 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.4139, allocations: 168.4 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4139, allocations: 4 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003469/0.4142, allocations: 210.1 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4143, allocations: 8 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4143, allocations: 96 / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.4144, allocations: 32.78 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4146, allocations: 39.91 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.4156, allocations: 1.319 MB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.4158, allocations: 27.72 kB / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4158, allocations: 8.156 kB / 1.08 GB, free: 13.1 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.0001537/0.416, allocations: 156.8 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.416, allocations: 19.75 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.416, allocations: 17.41 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.416, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4161, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4161, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.4167, allocations: 499.1 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4167, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.4167, allocations: 8 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.698e-05/0.4168, allocations: 28.83 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4169, allocations: 11.86 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.4179, allocations: 1.327 MB / 1.082 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4179, allocations: 0 / 1.082 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.4183, allocations: 240.3 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.4184, allocations: 108.8 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.4184, allocations: 0 / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4185, allocations: 4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.4186, allocations: 7.984 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4186, allocations: 8 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001281/0.4187, allocations: 145.5 kB / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4187, allocations: 0 / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003284/0.419, allocations: 59.84 kB / 1.083 GB, free: 10.25 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.000145/0.4192, allocations: 100.2 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.4196, allocations: 222.6 kB / 1.083 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4197, allocations: 0.5625 kB / 1.083 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.4199, allocations: 171.2 kB / 1.083 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4203, allocations: 31.92 kB / 1.083 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.4209, allocations: 498 kB / 1.084 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.4213, allocations: 0.7556 MB / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.4214, allocations: 29.53 kB / 1.085 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.4214, allocations: 15.44 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.4214, allocations: 0 / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of Templates: time 0.004824/0.4263, allocations: 1.837 MB / 1.086 GB, free: 6.543 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)