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.001012/0.001012, allocations: 106.3 kB / 16.4 MB, free: 6.449 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.001176/0.001176, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6821/0.6821, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 65.11 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1307, allocations: 76.17 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002295/0.133, allocations: 1.39 MB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1352, allocations: 1.938 MB / 0.6353 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1352, allocations: 0 / 0.6353 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.1361, allocations: 389.9 kB / 0.6357 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.1362, allocations: 19.91 kB / 0.6357 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.1362, allocations: 0 / 0.6357 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1364, allocations: 119.2 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.1365, allocations: 21.5 kB / 0.6358 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.1365, allocations: 47.73 kB / 0.6359 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1366, allocations: 63.7 kB / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1366, allocations: 4 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1371, allocations: 183.9 kB / 0.6361 GB, free: 264 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.1371, allocations: 31.89 kB / 0.6361 GB, free: 232 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1372, allocations: 75.55 kB / 0.6362 GB, free: 156 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.1376, allocations: 290.9 kB / 0.6365 GB, free: 15.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1376, allocations: 3.938 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1376, allocations: 0 / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1376, allocations: 0 / 0.6365 GB, free: 15.86 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.0006594/0.1383, allocations: 494.5 kB / 0.637 GB, free: 15.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1383, allocations: 8.031 kB / 0.637 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1385, allocations: 100 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1387, allocations: 283.4 kB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.1388, allocations: 154.9 kB / 0.6375 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.1388, allocations: 158.9 kB / 0.6376 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.232e-05/0.1389, allocations: 105.1 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.1389, allocations: 75.28 kB / 0.6378 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.139, allocations: 154.6 kB / 0.638 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.139, allocations: 150.6 kB / 0.6381 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.398e-05/0.1391, allocations: 154.6 kB / 0.6383 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.1394, allocations: 0.5093 MB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/0.1395, allocations: 173.1 kB / 0.6389 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.1396, allocations: 80.14 kB / 0.639 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1396, allocations: 79.28 kB / 0.6391 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1396, allocations: 109.8 kB / 0.6392 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1397, allocations: 0 / 0.6392 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001632/0.1398, allocations: 53.44 kB / 0.6392 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1399, allocations: 134.6 kB / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.1402, allocations: 318.3 kB / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1402, allocations: 33.64 kB / 0.6397 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.1403, allocations: 112.5 kB / 0.6398 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.1404, allocations: 0 / 0.6398 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.1404, allocations: 61.69 kB / 0.6399 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1406, allocations: 334.8 kB / 0.6402 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.1407, allocations: 63.95 kB / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1408, allocations: 125.7 kB / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1411, allocations: 205.8 kB / 0.6406 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1411, allocations: 4 kB / 0.6406 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004509/0.1415, allocations: 237.1 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1416, allocations: 4 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1416, allocations: 4 kB / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1416, allocations: 0 / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-06/0.1416, allocations: 11.92 kB / 0.6408 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1416, allocations: 0 / 0.6408 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1418, allocations: 27.59 kB / 0.6408 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1418, allocations: 4 kB / 0.6408 GB, free: 11.15 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.0002027/0.142, allocations: 229.2 kB / 0.641 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.1421, allocations: 128.7 kB / 0.6412 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.1421, allocations: 109.9 kB / 0.6413 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.1423, allocations: 180.2 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.792e-05/0.1423, allocations: 184.2 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.698e-05/0.1424, allocations: 184.3 kB / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1427, allocations: 457.1 kB / 0.6422 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001075/0.1428, allocations: 101 kB / 0.6423 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.1429, allocations: 108.9 kB / 0.6424 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.256e-05/0.1429, allocations: 184.2 kB / 0.6426 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.143, allocations: 180.3 kB / 0.6428 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001336/0.1431, allocations: 188.2 kB / 0.643 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.133e-05/0.1432, allocations: 176.3 kB / 0.6431 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1433, allocations: 315.6 kB / 0.6434 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.1434, allocations: 205.7 kB / 0.6436 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.1435, allocations: 180.2 kB / 0.6438 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1436, allocations: 105 kB / 0.6439 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.1437, allocations: 188.2 kB / 0.6441 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.1437, allocations: 109.2 kB / 0.6442 GB, free: 7.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.1439, allocations: 213.9 kB / 0.6444 GB, free: 7.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1439, allocations: 0 / 0.6444 GB, free: 7.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.1442, allocations: 63.98 kB / 0.6444 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.0002888/0.1445, allocations: 278.5 kB / 0.6447 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1447, allocations: 103.9 kB / 0.6448 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1447, allocations: 448 / 0.6448 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1447, allocations: 4 kB / 0.6448 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.145, allocations: 472.2 kB / 0.6453 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.1454, allocations: 385.2 kB / 0.6456 GB, free: 5.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1457, allocations: 0.7509 MB / 0.6464 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.026e-05/0.1457, allocations: 0 / 0.6464 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.1458, allocations: 11.44 kB / 0.6464 GB, free: 5.168 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1458, allocations: 0 / 0.6464 GB, free: 5.168 MB / 494.1 MB Notification: Performance of Templates: time 0.004579/0.1503, allocations: 2.302 MB / 0.6486 GB, free: 2.871 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)