Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001352/0.001352, 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.002235/0.002235, allocations: 197.9 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.3 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3938, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002664/0.3965, allocations: 1.471 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.3995, allocations: 2.645 MB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.3996, allocations: 0 / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.4012, allocations: 0.556 MB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.4012, allocations: 15.91 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.027e-06/0.4013, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.4015, allocations: 170.9 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.4016, allocations: 36.41 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.4017, allocations: 55.67 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4018, allocations: 83.52 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.4018, allocations: 4 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.403, allocations: 491.2 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.4031, allocations: 39.83 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.4032, allocations: 95.38 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.4038, allocations: 398.4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4038, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4038, allocations: 3.938 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.4038, allocations: 0 / 1.073 GB, free: 4.871 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.0007555/0.4046, allocations: 0.5413 MB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4046, allocations: 8.031 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4048, allocations: 103.9 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.405, allocations: 302.3 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.4051, allocations: 166.9 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.4051, allocations: 154.9 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.835e-05/0.4052, allocations: 101.5 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4052, allocations: 75.47 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.4053, allocations: 158.5 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.4053, allocations: 150.6 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.4054, allocations: 150.6 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.4057, allocations: 0.5366 MB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.4058, allocations: 173.1 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.4059, allocations: 80.14 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.4059, allocations: 83.22 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4059, allocations: 109.8 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4059, allocations: 0 / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001654/0.4061, allocations: 61.28 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.4062, allocations: 130.7 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.4066, allocations: 433.2 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4066, allocations: 25.7 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.4067, allocations: 128.5 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.4067, allocations: 0 / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.4068, allocations: 97.66 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4069, allocations: 334.8 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.407, allocations: 104.5 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4072, allocations: 161.3 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.4075, allocations: 305.6 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4075, allocations: 3.938 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004713/0.408, allocations: 325.1 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.408, allocations: 4 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.408, allocations: 11.88 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4081, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.4081, allocations: 4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4081, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4082, allocations: 55.22 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4082, allocations: 7.984 kB / 1.078 GB, free: 15.59 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.0002358/0.4085, allocations: 245.2 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.4086, allocations: 124.6 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.4086, allocations: 118.7 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.269e-05/0.4087, allocations: 184.2 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.953e-05/0.4087, allocations: 184.2 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/0.4088, allocations: 180.3 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4091, allocations: 477.1 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/0.4091, allocations: 101 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.4092, allocations: 108.9 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.253e-05/0.4092, allocations: 184.5 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.4093, allocations: 188.2 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-05/0.4094, allocations: 188.1 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.213e-05/0.4094, allocations: 176.3 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.4096, allocations: 327.4 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.4097, allocations: 197.8 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.4098, allocations: 192.1 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4099, allocations: 105 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.41, allocations: 188.2 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.41, allocations: 105 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002507/0.4103, allocations: 275.1 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4103, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003834/0.4107, allocations: 76 kB / 1.082 GB, free: 11.53 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.0003685/0.411, allocations: 298.4 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.4113, allocations: 167.9 kB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4113, allocations: 3.938 kB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.4113, allocations: 0 / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.4117, allocations: 0.5267 MB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.4124, allocations: 0.5461 MB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4127, allocations: 0.7823 MB / 1.084 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.4128, allocations: 0 / 1.084 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.4128, allocations: 15.38 kB / 1.084 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.4128, allocations: 0 / 1.084 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of Templates: time 0.006413/0.4192, allocations: 2.823 MB / 1.087 GB, free: 6.316 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)