Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 119.2 kB / 17.09 MB, free: 6 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.001255/0.001255, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7126/0.7126, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.03 kB / 0.5583 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 76.17 MB / 0.6327 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002816/0.1488, allocations: 1.39 MB / 0.6341 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1513, allocations: 1.931 MB / 0.636 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1514, allocations: 0 / 0.636 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.1527, allocations: 393.9 kB / 0.6363 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.1528, allocations: 15.86 kB / 0.6363 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.91e-06/0.1528, allocations: 0 / 0.6363 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.153, allocations: 127.2 kB / 0.6365 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.357e-05/0.1531, allocations: 17.5 kB / 0.6365 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.1532, allocations: 51.78 kB / 0.6365 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1533, allocations: 59.72 kB / 0.6366 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1533, allocations: 4 kB / 0.6366 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.1539, allocations: 183.9 kB / 0.6368 GB, free: 360 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.154, allocations: 27.91 kB / 0.6368 GB, free: 332 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.1541, allocations: 75.55 kB / 0.6369 GB, free: 256 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.1546, allocations: 290.9 kB / 0.6371 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1546, allocations: 0 / 0.6371 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1547, allocations: 0 / 0.6371 GB, free: 15.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1547, allocations: 4 kB / 0.6371 GB, free: 15.96 MB / 494.1 MB 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.000752/0.1554, allocations: 494.5 kB / 0.6376 GB, free: 15.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1555, allocations: 12.03 kB / 0.6376 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1557, allocations: 96.02 kB / 0.6377 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1559, allocations: 283.4 kB / 0.638 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.156, allocations: 158.9 kB / 0.6381 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.156, allocations: 154.9 kB / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.868e-05/0.1561, allocations: 105.1 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.1561, allocations: 83.2 kB / 0.6385 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.1562, allocations: 150.6 kB / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.1563, allocations: 150.6 kB / 0.6388 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.1563, allocations: 154.6 kB / 0.6389 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1567, allocations: 0.5054 MB / 0.6394 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.264e-05/0.1568, allocations: 173.1 kB / 0.6396 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.1568, allocations: 84.08 kB / 0.6396 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1569, allocations: 79.28 kB / 0.6397 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.1569, allocations: 113.8 kB / 0.6398 GB, free: 13.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1569, allocations: 0 / 0.6398 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001842/0.1571, allocations: 41.52 kB / 0.6399 GB, free: 12.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1572, allocations: 130.7 kB / 0.64 GB, free: 12.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1575, allocations: 326.2 kB / 0.6403 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1575, allocations: 29.64 kB / 0.6403 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.1576, allocations: 124.4 kB / 0.6405 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.1576, allocations: 0 / 0.6405 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.1577, allocations: 61.69 kB / 0.6405 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1578, allocations: 326.8 kB / 0.6408 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.1579, allocations: 63.95 kB / 0.6409 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.158, allocations: 121.7 kB / 0.641 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.1583, allocations: 213.8 kB / 0.6412 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1583, allocations: 0 / 0.6412 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004225/0.1587, allocations: 237.1 kB / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1587, allocations: 8 kB / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1587, allocations: 0 / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1588, allocations: 4 kB / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.1588, allocations: 224 / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1588, allocations: 8 kB / 0.6414 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1589, allocations: 23.59 kB / 0.6415 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1589, allocations: 12.06 kB / 0.6415 GB, free: 11.24 MB / 494.1 MB 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.0002039/0.1591, allocations: 225 kB / 0.6417 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.1592, allocations: 128.7 kB / 0.6418 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.1593, allocations: 105.9 kB / 0.6419 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.438e-05/0.1594, allocations: 188.2 kB / 0.6421 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.169e-05/0.1594, allocations: 176.3 kB / 0.6423 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-05/0.1595, allocations: 192.2 kB / 0.6425 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.1598, allocations: 449.2 kB / 0.6429 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/0.1598, allocations: 104.9 kB / 0.643 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1599, allocations: 116.9 kB / 0.6431 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.777e-05/0.1599, allocations: 176.3 kB / 0.6433 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.16, allocations: 180.2 kB / 0.6434 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-05/0.1601, allocations: 180.2 kB / 0.6436 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.865e-05/0.1601, allocations: 184.2 kB / 0.6438 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1603, allocations: 319.6 kB / 0.6441 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.1604, allocations: 205.7 kB / 0.6443 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.1605, allocations: 184.2 kB / 0.6445 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1606, allocations: 108.9 kB / 0.6446 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.1607, allocations: 176.3 kB / 0.6447 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.1607, allocations: 105.3 kB / 0.6448 GB, free: 7.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1609, allocations: 217.9 kB / 0.645 GB, free: 7.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.161, allocations: 3.938 kB / 0.645 GB, free: 7.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1613, allocations: 64 kB / 0.6451 GB, free: 7.301 MB / 494.1 MB 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.0003457/0.1617, allocations: 282.3 kB / 0.6454 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1619, allocations: 99.89 kB / 0.6455 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1619, allocations: 0 / 0.6455 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.1619, allocations: 0 / 0.6455 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1622, allocations: 468.7 kB / 0.6459 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.1628, allocations: 414.9 kB / 0.6463 GB, free: 6.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1631, allocations: 0.7431 MB / 0.647 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.1631, allocations: 11.44 kB / 0.647 GB, free: 5.242 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1631, allocations: 0 / 0.647 GB, free: 5.242 MB / 494.1 MB Notification: Performance of Templates: time 0.004421/0.1675, allocations: 2.341 MB / 0.6493 GB, free: 2.898 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)