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.001178/0.001178, allocations: 111.6 kB / 17.08 MB, free: 6.016 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.001172/0.001172, allocations: 199 kB / 18.02 MB, free: 5.094 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.694/0.694, allocations: 115.3 MB / 407.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68 kB / 0.5583 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1211, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002513/0.1237, allocations: 1.388 MB / 0.6341 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1259, allocations: 1.927 MB / 0.636 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.126, allocations: 4 kB / 0.636 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.127, allocations: 393.9 kB / 0.6363 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.1271, allocations: 19.91 kB / 0.6363 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.1271, allocations: 4 kB / 0.6364 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1273, allocations: 119.2 kB / 0.6365 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.1274, allocations: 17.5 kB / 0.6365 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.1274, allocations: 43.8 kB / 0.6365 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1275, allocations: 67.64 kB / 0.6366 GB, free: 456 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1276, allocations: 0 / 0.6366 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.128, allocations: 183.9 kB / 0.6368 GB, free: 272 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.1281, allocations: 35.83 kB / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.1281, allocations: 71.55 kB / 0.6369 GB, free: 164 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.1286, allocations: 294.9 kB / 0.6371 GB, free: 15.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1286, allocations: 0 / 0.6371 GB, free: 15.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1286, allocations: 0 / 0.6371 GB, free: 15.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1286, allocations: 0 / 0.6371 GB, free: 15.87 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.0006802/0.1293, allocations: 0.4907 MB / 0.6376 GB, free: 15.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1293, allocations: 12.03 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1295, allocations: 92.03 kB / 0.6377 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1297, allocations: 291.4 kB / 0.638 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1298, allocations: 150.9 kB / 0.6381 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.1298, allocations: 158.9 kB / 0.6383 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.588e-05/0.1299, allocations: 109.1 kB / 0.6384 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.1299, allocations: 75.28 kB / 0.6385 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.13, allocations: 150.6 kB / 0.6386 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.13, allocations: 154.6 kB / 0.6388 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.1301, allocations: 150.6 kB / 0.6389 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1304, allocations: 0.5093 MB / 0.6394 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.1305, allocations: 169.1 kB / 0.6396 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.1305, allocations: 84.14 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1306, allocations: 79.28 kB / 0.6397 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1306, allocations: 109.8 kB / 0.6398 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1306, allocations: 0 / 0.6398 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001675/0.1308, allocations: 53.44 kB / 0.6399 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1309, allocations: 130.7 kB / 0.64 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1312, allocations: 318.3 kB / 0.6403 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1312, allocations: 25.7 kB / 0.6403 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.1313, allocations: 124.4 kB / 0.6405 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1313, allocations: 0 / 0.6405 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.1313, allocations: 61.69 kB / 0.6405 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1315, allocations: 330.8 kB / 0.6408 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1315, allocations: 55.97 kB / 0.6409 GB, free: 11.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1317, allocations: 125.7 kB / 0.641 GB, free: 11.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1319, allocations: 213.8 kB / 0.6412 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1319, allocations: 0 / 0.6412 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003894/0.1323, allocations: 237.1 kB / 0.6414 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1323, allocations: 8.219 kB / 0.6414 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1323, allocations: 4 kB / 0.6414 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1323, allocations: 4 kB / 0.6414 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-06/0.1324, allocations: 0 / 0.6414 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1324, allocations: 11.92 kB / 0.6415 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1325, allocations: 31.53 kB / 0.6415 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.1325, allocations: 4 kB / 0.6415 GB, free: 11.14 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.0001952/0.1327, allocations: 227.7 kB / 0.6417 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.1328, allocations: 124.7 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.1328, allocations: 113.8 kB / 0.6419 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.1329, allocations: 180.3 kB / 0.6421 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.016e-05/0.133, allocations: 184.2 kB / 0.6423 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.943e-05/0.133, allocations: 180.3 kB / 0.6425 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1333, allocations: 457.1 kB / 0.6429 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-05/0.1333, allocations: 109 kB / 0.643 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1334, allocations: 104.9 kB / 0.6431 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/0.1334, allocations: 180.2 kB / 0.6433 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.1335, allocations: 180.3 kB / 0.6434 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-05/0.1336, allocations: 184.2 kB / 0.6436 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.213e-05/0.1336, allocations: 184.2 kB / 0.6438 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1338, allocations: 315.6 kB / 0.6441 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.1339, allocations: 201.7 kB / 0.6443 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.134, allocations: 188.2 kB / 0.6445 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1341, allocations: 101 kB / 0.6446 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.1341, allocations: 180.3 kB / 0.6447 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.1342, allocations: 109.2 kB / 0.6448 GB, free: 7.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1344, allocations: 213.9 kB / 0.645 GB, free: 7.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1344, allocations: 3.938 kB / 0.645 GB, free: 7.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.1348, allocations: 67.98 kB / 0.6451 GB, free: 7.207 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.0003016/0.1351, allocations: 274.5 kB / 0.6454 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1352, allocations: 103.9 kB / 0.6455 GB, free: 6.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1353, allocations: 0 / 0.6455 GB, free: 6.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.1353, allocations: 0 / 0.6455 GB, free: 6.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1356, allocations: 468.7 kB / 0.6459 GB, free: 6.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.1361, allocations: 418.9 kB / 0.6463 GB, free: 5.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1364, allocations: 0.747 MB / 0.647 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.1364, allocations: 7.438 kB / 0.6471 GB, free: 5.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1365, allocations: 0 / 0.6471 GB, free: 5.148 MB / 494.1 MB Notification: Performance of Templates: time 0.003757/0.1402, allocations: 2.349 MB / 0.6493 GB, free: 2.797 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)