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: "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",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.001236/0.001236, allocations: 103.6 kB / 16.4 MB, free: 6.445 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.0013/0.0013, 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.65/0.65, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 68.94 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 76.17 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002118/0.1257, allocations: 1.396 MB / 0.6329 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1278, allocations: 1.931 MB / 0.6348 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.1279, allocations: 0 / 0.6348 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.1288, allocations: 389.9 kB / 0.6352 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.1288, allocations: 15.92 kB / 0.6352 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.1288, allocations: 0 / 0.6352 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.129, allocations: 127.2 kB / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1291, allocations: 17.5 kB / 0.6353 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.1291, allocations: 51.72 kB / 0.6354 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.1292, allocations: 67.7 kB / 0.6355 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1292, allocations: 0 / 0.6355 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.1297, allocations: 187.9 kB / 0.6356 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.1297, allocations: 27.91 kB / 0.6357 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1298, allocations: 71.55 kB / 0.6357 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.1302, allocations: 286.6 kB / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1302, allocations: 0 / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1302, allocations: 0 / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1302, allocations: 0 / 0.636 GB, free: 396 kB / 478.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.0006217/0.1309, allocations: 498.5 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1309, allocations: 8.031 kB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.131, allocations: 110 kB / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1311, allocations: 100 kB / 0.6367 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1313, allocations: 283.4 kB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.1314, allocations: 162.9 kB / 0.6371 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.1314, allocations: 154.9 kB / 0.6373 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.1315, allocations: 104.9 kB / 0.6374 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1315, allocations: 75.28 kB / 0.6374 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.1316, allocations: 158.6 kB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.1316, allocations: 150.6 kB / 0.6377 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.1317, allocations: 154.6 kB / 0.6379 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.132, allocations: 0.5093 MB / 0.6384 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.071e-05/0.132, allocations: 165.1 kB / 0.6385 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.1321, allocations: 80.14 kB / 0.6386 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1321, allocations: 79.22 kB / 0.6387 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1321, allocations: 109.8 kB / 0.6388 GB, free: 13.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1322, allocations: 0 / 0.6388 GB, free: 13.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001556/0.1323, allocations: 49.45 kB / 0.6388 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1324, allocations: 134.6 kB / 0.639 GB, free: 13.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.1327, allocations: 326.2 kB / 0.6393 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1327, allocations: 25.7 kB / 0.6393 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.1328, allocations: 124.3 kB / 0.6394 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.1328, allocations: 4 kB / 0.6394 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.1328, allocations: 57.69 kB / 0.6395 GB, free: 12.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1329, allocations: 330.8 kB / 0.6398 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.133, allocations: 59.95 kB / 0.6398 GB, free: 12.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1331, allocations: 125.7 kB / 0.64 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1333, allocations: 213.8 kB / 0.6402 GB, free: 11.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1333, allocations: 0 / 0.6402 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003683/0.1337, allocations: 237.2 kB / 0.6404 GB, free: 11.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1337, allocations: 8 kB / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1338, allocations: 0 / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1338, allocations: 4 kB / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.1338, allocations: 3.938 kB / 0.6404 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1338, allocations: 8.219 kB / 0.6404 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1339, allocations: 31.52 kB / 0.6404 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1339, allocations: 4 kB / 0.6404 GB, free: 11.54 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.0001744/0.1341, allocations: 225.7 kB / 0.6407 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1342, allocations: 124.7 kB / 0.6408 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.1342, allocations: 109.9 kB / 0.6409 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.556e-05/0.1343, allocations: 184.3 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-05/0.1343, allocations: 188.2 kB / 0.6412 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/0.1344, allocations: 180.3 kB / 0.6414 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1346, allocations: 449.1 kB / 0.6418 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.1347, allocations: 108.9 kB / 0.6419 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.1347, allocations: 101 kB / 0.642 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.1348, allocations: 188.2 kB / 0.6422 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.1348, allocations: 176.3 kB / 0.6424 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.801e-05/0.1349, allocations: 184.2 kB / 0.6426 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-05/0.135, allocations: 180.2 kB / 0.6427 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1351, allocations: 323.6 kB / 0.643 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.1352, allocations: 205.7 kB / 0.6432 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.1353, allocations: 180.2 kB / 0.6434 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1354, allocations: 105 kB / 0.6435 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.1354, allocations: 180.2 kB / 0.6437 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1355, allocations: 105.2 kB / 0.6438 GB, free: 7.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1357, allocations: 221.9 kB / 0.644 GB, free: 7.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1357, allocations: 0 / 0.644 GB, free: 7.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.136, allocations: 64 kB / 0.6441 GB, free: 7.605 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.0005235/0.1365, allocations: 0.9217 MB / 0.645 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1367, allocations: 111.8 kB / 0.6451 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1367, allocations: 0 / 0.6451 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1367, allocations: 448 / 0.6451 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1371, allocations: 460.2 kB / 0.6455 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.1391, allocations: 2.434 MB / 0.6479 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1394, allocations: 0.7471 MB / 0.6486 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.329e-05/0.1394, allocations: 4 kB / 0.6486 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1395, allocations: 31.42 kB / 0.6486 GB, free: 2.73 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1395, allocations: 3.938 kB / 0.6486 GB, free: 2.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.1582, allocations: 4.842 MB / 0.6534 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.276, allocations: 7.922 kB / 0.6534 GB, free: 14.01 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)