Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 102.8 kB / 16.4 MB, free: 6.492 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.001812/0.001812, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.292/1.292, allocations: 222.9 MB / 241 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.7135/0.7135, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 64.19 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002888/0.1387, allocations: 1.414 MB / 0.6329 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.1421, allocations: 2.662 MB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.1422, allocations: 0 / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.1438, allocations: 0.5745 MB / 0.6361 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.1439, allocations: 15.91 kB / 0.6361 GB, free: 232 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.51e-06/0.1439, allocations: 0 / 0.6361 GB, free: 232 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.1442, allocations: 166.9 kB / 0.6363 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.1443, allocations: 32.69 kB / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.1444, allocations: 67.78 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1445, allocations: 75.59 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1445, allocations: 0 / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009456/0.1455, allocations: 471.1 kB / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.1456, allocations: 31.84 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.1457, allocations: 107.3 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.1463, allocations: 434.3 kB / 0.6374 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1463, allocations: 3.938 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1463, allocations: 0 / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1463, allocations: 0 / 0.6375 GB, free: 14.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.000764/0.1471, allocations: 0.5529 MB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1471, allocations: 8.031 kB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1472, allocations: 106 kB / 0.6381 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1473, allocations: 107.8 kB / 0.6382 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1476, allocations: 306.3 kB / 0.6385 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.1476, allocations: 158.9 kB / 0.6386 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.1477, allocations: 158.9 kB / 0.6388 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.708e-05/0.1477, allocations: 105.5 kB / 0.6389 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1478, allocations: 79.22 kB / 0.639 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.1478, allocations: 154.5 kB / 0.6391 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.1479, allocations: 150.6 kB / 0.6393 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.1479, allocations: 162.4 kB / 0.6394 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1483, allocations: 0.5367 MB / 0.6399 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.1483, allocations: 165.1 kB / 0.6401 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.1484, allocations: 80.14 kB / 0.6402 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1484, allocations: 75.28 kB / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1484, allocations: 117.8 kB / 0.6404 GB, free: 11.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1485, allocations: 0 / 0.6404 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001687/0.1486, allocations: 57.3 kB / 0.6404 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1487, allocations: 126.7 kB / 0.6405 GB, free: 11.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.1491, allocations: 433.2 kB / 0.641 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1491, allocations: 29.7 kB / 0.641 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1492, allocations: 128.5 kB / 0.6411 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.1492, allocations: 4 kB / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.1493, allocations: 93.67 kB / 0.6412 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1494, allocations: 334.8 kB / 0.6415 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1495, allocations: 96.5 kB / 0.6416 GB, free: 10.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1497, allocations: 169.2 kB / 0.6418 GB, free: 10.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.1499, allocations: 305.6 kB / 0.6421 GB, free: 9.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1499, allocations: 0 / 0.6421 GB, free: 9.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004586/0.1504, allocations: 332.9 kB / 0.6424 GB, free: 9.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1504, allocations: 7.938 kB / 0.6424 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1504, allocations: 7.938 kB / 0.6424 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1505, allocations: 0 / 0.6424 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-06/0.1505, allocations: 4 kB / 0.6424 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1505, allocations: 224 / 0.6424 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1506, allocations: 51.38 kB / 0.6424 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1506, allocations: 8.078 kB / 0.6425 GB, free: 9.438 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.0002127/0.1508, allocations: 239.8 kB / 0.6427 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.1509, allocations: 132.6 kB / 0.6428 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.151, allocations: 111 kB / 0.6429 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/0.1511, allocations: 184.2 kB / 0.6431 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.988e-05/0.1511, allocations: 176.3 kB / 0.6433 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.1512, allocations: 188.2 kB / 0.6434 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.1515, allocations: 477.1 kB / 0.6439 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/0.1515, allocations: 101 kB / 0.644 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.1515, allocations: 108.9 kB / 0.6441 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.326e-05/0.1516, allocations: 188.2 kB / 0.6443 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/0.1517, allocations: 180.3 kB / 0.6444 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.817e-05/0.1517, allocations: 184.4 kB / 0.6446 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.204e-05/0.1518, allocations: 180.2 kB / 0.6448 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1519, allocations: 335.4 kB / 0.6451 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.152, allocations: 201.7 kB / 0.6453 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.1521, allocations: 184.2 kB / 0.6455 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1523, allocations: 101 kB / 0.6456 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.1523, allocations: 180.2 kB / 0.6457 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.1524, allocations: 105 kB / 0.6458 GB, free: 5.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.1526, allocations: 283.1 kB / 0.6461 GB, free: 5.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 0 / 0.6461 GB, free: 5.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.153, allocations: 83.98 kB / 0.6462 GB, free: 5.383 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.0005986/0.1536, allocations: 0.9604 MB / 0.6471 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1538, allocations: 168 kB / 0.6473 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1538, allocations: 0 / 0.6473 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.1538, allocations: 4 kB / 0.6473 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1542, allocations: 466.5 kB / 0.6477 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1567, allocations: 2.93 MB / 0.6506 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.157, allocations: 0.7782 MB / 0.6514 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.157, allocations: 192 / 0.6514 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.1571, allocations: 55.41 kB / 0.6514 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1571, allocations: 3.938 kB / 0.6514 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1788, allocations: 6.535 MB / 0.6578 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.832, allocations: 15.98 kB / 0.6578 GB, free: 9.441 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)