Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, 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.001286/0.001286, allocations: 195.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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.39 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3938, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002832/0.3967, allocations: 1.467 MB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.3999, allocations: 2.646 MB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.4, allocations: 0 / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.4017, allocations: 0.5521 MB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.4017, allocations: 15.91 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.926e-06/0.4017, allocations: 4 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.402, allocations: 174.9 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.402, allocations: 28.41 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.4021, allocations: 55.69 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.4022, allocations: 87.52 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.4023, allocations: 4 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.4034, allocations: 491.2 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.4035, allocations: 35.83 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.4036, allocations: 99.36 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.4041, allocations: 390.3 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4041, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4041, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.4042, allocations: 4 kB / 1.073 GB, free: 4.852 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007112/0.4049, allocations: 0.5491 MB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.4049, allocations: 8.031 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.405, allocations: 103.9 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.4053, allocations: 302.3 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.4054, allocations: 158.9 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.4054, allocations: 158.9 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.415e-05/0.4055, allocations: 109.5 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.4055, allocations: 75.47 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.4056, allocations: 154.5 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/0.4057, allocations: 154.5 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/0.4057, allocations: 150.6 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.4061, allocations: 0.5405 MB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.4062, allocations: 169.1 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.4062, allocations: 80.14 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.4063, allocations: 75.28 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.4063, allocations: 113.8 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4063, allocations: 4 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001593/0.4065, allocations: 61.28 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.4066, allocations: 126.7 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.407, allocations: 433.2 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.407, allocations: 29.7 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.4071, allocations: 128.5 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.4071, allocations: 0 / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.4072, allocations: 93.67 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4073, allocations: 342.8 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4074, allocations: 92.52 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.4076, allocations: 165.3 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.4079, allocations: 309.6 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4079, allocations: 0 / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004406/0.4084, allocations: 329 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4084, allocations: 7.938 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4084, allocations: 7.938 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.4084, allocations: 0 / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-06/0.4084, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4084, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.4086, allocations: 51.28 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.4086, allocations: 4.219 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002991/0.4089, allocations: 246.7 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.409, allocations: 128.6 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.4091, allocations: 118.7 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-05/0.4091, allocations: 180.2 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/0.4092, allocations: 180.2 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.264e-05/0.4093, allocations: 188.3 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.4096, allocations: 473.1 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.4096, allocations: 101 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.4097, allocations: 104.9 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/0.4097, allocations: 184.5 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.4098, allocations: 192.2 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.243e-05/0.4099, allocations: 188.1 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.979e-05/0.4099, allocations: 176.3 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4101, allocations: 323.4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4102, allocations: 205.8 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.4103, allocations: 192.1 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4104, allocations: 101 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4105, allocations: 188.2 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.4106, allocations: 105 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002494/0.4108, allocations: 279.1 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4108, allocations: 0 / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003657/0.4112, allocations: 80 kB / 1.082 GB, free: 11.5 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003322/0.4115, allocations: 302.4 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.4117, allocations: 171.8 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4117, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.4117, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.4121, allocations: 0.527 MB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.4127, allocations: 0.5395 MB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4131, allocations: 0.7784 MB / 1.084 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.4131, allocations: 7.922 kB / 1.084 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.4131, allocations: 15.38 kB / 1.084 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.4131, allocations: 0 / 1.084 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.005831/0.419, allocations: 2.811 MB / 1.087 GB, free: 6.293 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)