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.001482/0.001482, allocations: 106.2 kB / 16.4 MB, free: 6.461 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.001791/0.001791, allocations: 195.9 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.699/0.699, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 66.45 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002457/0.1325, allocations: 1.39 MB / 0.6329 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1347, allocations: 1.935 MB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.1347, allocations: 4 kB / 0.6348 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1359, allocations: 383.9 kB / 0.6352 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.1359, allocations: 19.91 kB / 0.6352 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.1359, allocations: 0 / 0.6352 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1361, allocations: 119.2 kB / 0.6353 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.1362, allocations: 25.47 kB / 0.6353 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.1363, allocations: 43.8 kB / 0.6354 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1364, allocations: 63.66 kB / 0.6354 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1364, allocations: 0 / 0.6354 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.1369, allocations: 179.9 kB / 0.6356 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1369, allocations: 35.89 kB / 0.6357 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.137, allocations: 79.48 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.1375, allocations: 290.6 kB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1375, allocations: 0 / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1375, allocations: 0 / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1375, allocations: 0 / 0.636 GB, free: 360 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.0006992/0.1383, allocations: 494.5 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1383, allocations: 12.03 kB / 0.6365 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1384, allocations: 114 kB / 0.6366 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1385, allocations: 96.03 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1388, allocations: 295.3 kB / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.1388, allocations: 150.9 kB / 0.6371 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.1389, allocations: 154.9 kB / 0.6373 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.428e-05/0.1389, allocations: 104.9 kB / 0.6374 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1389, allocations: 79.28 kB / 0.6374 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.139, allocations: 154.6 kB / 0.6376 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.139, allocations: 150.6 kB / 0.6377 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.1391, allocations: 150.6 kB / 0.6379 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1394, allocations: 0.5093 MB / 0.6384 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.1395, allocations: 169.1 kB / 0.6385 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.1395, allocations: 84.14 kB / 0.6386 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1395, allocations: 79.22 kB / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1396, allocations: 105.8 kB / 0.6388 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1396, allocations: 0 / 0.6388 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001676/0.1398, allocations: 57.44 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1398, allocations: 126.7 kB / 0.639 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1401, allocations: 326.2 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1401, allocations: 25.7 kB / 0.6393 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1402, allocations: 120.4 kB / 0.6394 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.1402, allocations: 0 / 0.6394 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.1403, allocations: 61.69 kB / 0.6395 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1404, allocations: 334.8 kB / 0.6398 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.1405, allocations: 59.95 kB / 0.6399 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1406, allocations: 121.7 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1408, allocations: 205.8 kB / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1408, allocations: 4 kB / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003909/0.1412, allocations: 245.2 kB / 0.6404 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1413, allocations: 4 kB / 0.6404 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1413, allocations: 0 / 0.6404 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1413, allocations: 4 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-06/0.1413, allocations: 3.938 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1413, allocations: 4 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1414, allocations: 31.53 kB / 0.6404 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1414, allocations: 4 kB / 0.6404 GB, free: 11.51 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.0001718/0.1416, allocations: 225.3 kB / 0.6407 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.1417, allocations: 124.7 kB / 0.6408 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.1417, allocations: 113.8 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/0.1418, allocations: 180.3 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-05/0.1418, allocations: 180.2 kB / 0.6412 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.246e-05/0.1419, allocations: 184.3 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1421, allocations: 457 kB / 0.6418 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/0.1422, allocations: 108.9 kB / 0.642 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.1422, allocations: 101 kB / 0.642 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.844e-05/0.1423, allocations: 180.2 kB / 0.6422 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.1423, allocations: 180.2 kB / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.853e-05/0.1424, allocations: 192.2 kB / 0.6426 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.471e-05/0.1424, allocations: 176.3 kB / 0.6427 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1426, allocations: 311.6 kB / 0.643 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.1426, allocations: 205.7 kB / 0.6432 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.1427, allocations: 188.2 kB / 0.6434 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1428, allocations: 109 kB / 0.6435 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1429, allocations: 180.2 kB / 0.6437 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.1429, allocations: 109.2 kB / 0.6438 GB, free: 7.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1431, allocations: 209.9 kB / 0.644 GB, free: 7.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1431, allocations: 0 / 0.644 GB, free: 7.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.1434, allocations: 67.98 kB / 0.6441 GB, free: 7.578 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.000515/0.144, allocations: 0.9295 MB / 0.645 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1441, allocations: 99.89 kB / 0.6451 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1441, allocations: 0 / 0.6451 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1442, allocations: 0 / 0.6451 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1445, allocations: 462.1 kB / 0.6455 GB, free: 6.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.1467, allocations: 2.442 MB / 0.6479 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1469, allocations: 0.7431 MB / 0.6486 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.147, allocations: 3.938 kB / 0.6486 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.147, allocations: 39.42 kB / 0.6487 GB, free: 2.695 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.147, allocations: 0 / 0.6487 GB, free: 2.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.1674, allocations: 4.922 MB / 0.6535 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.458, allocations: 11.98 kB / 0.6535 GB, free: 13.9 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)