Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002226/0.002227, allocations: 196.4 kB / 16.14 MB, free: 6.656 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.59/1.59, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.02 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3814, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006117/0.3875, allocations: 3.902 MB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.3905, allocations: 1.769 MB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.3907, allocations: 7.938 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3919, allocations: 418.7 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.3924, allocations: 239 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.3931, allocations: 223.6 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009099/0.394, allocations: 0.7012 MB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.3946, allocations: 237.5 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.3949, allocations: 171.3 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.3954, allocations: 239.2 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.754e-05/0.3955, allocations: 24 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.396, allocations: 231.4 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.3962, allocations: 127.7 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.3965, allocations: 163.1 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.3972, allocations: 0.4908 MB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3972, allocations: 4 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.71e-07/0.3972, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.3972, allocations: 0 / 1.076 GB, free: 1.98 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001449/0.3987, allocations: 0.6588 MB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3987, allocations: 8.031 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.3994, allocations: 84.41 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.3998, allocations: 293.4 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3998, allocations: 25.02 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.3999, allocations: 28.38 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.4008, allocations: 486 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4008, allocations: 0 / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.4008, allocations: 19.98 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.4009, allocations: 48.5 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.4017, allocations: 358.4 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.4041, allocations: 2.037 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.4047, allocations: 222.5 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.4051, allocations: 156.8 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4052, allocations: 3.984 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.4052, allocations: 42.56 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.4052, allocations: 0 / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001131/0.4064, allocations: 428.1 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4064, allocations: 51.41 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.4067, allocations: 262.7 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.4067, allocations: 29.7 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4069, allocations: 207.7 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.4069, allocations: 63.09 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4071, allocations: 57.89 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4072, allocations: 342.8 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.4075, allocations: 97.91 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.4078, allocations: 207.5 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.4084, allocations: 315.3 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4084, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007994/0.4092, allocations: 359.6 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4092, allocations: 8.094 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4092, allocations: 4 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.4095, allocations: 32.84 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.4097, allocations: 67.89 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.411, allocations: 1.334 MB / 1.084 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.4113, allocations: 47.73 kB / 1.084 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.4113, allocations: 19.92 kB / 1.084 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000354/0.4117, allocations: 216.5 kB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003183/0.412, allocations: 209 kB / 1.085 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005716/0.4126, allocations: 323.1 kB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.4126, allocations: 4 kB / 1.085 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006823/0.4133, allocations: 329 kB / 1.085 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4133, allocations: 8 kB / 1.085 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4133, allocations: 7.938 kB / 1.085 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.4134, allocations: 4 kB / 1.085 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.4136, allocations: 71.89 kB / 1.085 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4137, allocations: 11.94 kB / 1.085 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.4139, allocations: 36.16 kB / 1.085 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4139, allocations: 12.05 kB / 1.085 GB, free: 7.684 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.4141, allocations: 200.8 kB / 1.086 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.4142, allocations: 27.66 kB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.4142, allocations: 30.17 kB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4142, allocations: 4 kB / 1.086 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.4143, allocations: 4 kB / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4143, allocations: 0 / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4155, allocations: 0.7555 MB / 1.086 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4155, allocations: 4 kB / 1.086 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.4157, allocations: 44.03 kB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.4158, allocations: 20.84 kB / 1.087 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4158, allocations: 8 kB / 1.087 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009966/0.4168, allocations: 1.319 MB / 1.088 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4169, allocations: 0 / 1.088 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.4175, allocations: 373.7 kB / 1.088 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4176, allocations: 116.7 kB / 1.088 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.4177, allocations: 7.984 kB / 1.088 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4179, allocations: 19.98 kB / 1.088 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.4179, allocations: 11.98 kB / 1.088 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.418, allocations: 8 kB / 1.088 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001923/0.4181, allocations: 186 kB / 1.089 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4182, allocations: 0 / 1.089 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006027/0.4188, allocations: 143.5 kB / 1.089 GB, free: 4.16 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.4189, allocations: 103.2 kB / 1.089 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.42, allocations: 497.3 kB / 1.089 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.42, allocations: 0 / 1.089 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.4204, allocations: 212.3 kB / 1.089 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.4209, allocations: 75.27 kB / 1.09 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.422, allocations: 0.6742 MB / 1.09 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4224, allocations: 0.7957 MB / 1.091 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.4227, allocations: 78.28 kB / 1.091 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.4227, allocations: 27.44 kB / 1.091 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.4227, allocations: 0 / 1.091 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of Templates: time 0.007682/0.4304, allocations: 3.219 MB / 1.094 GB, free: 14.43 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)