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.0007782/0.0007811, allocations: 96.66 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007993/0.0007993, allocations: 173.3 kB / 16.57 MB, free: 6.855 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.106/1.106, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5626/0.5626, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1075, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001111/0.1087, allocations: 1.104 MB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1107, allocations: 2.257 MB / 0.56 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.1108, allocations: 0 / 0.56 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.1118, allocations: 0.5488 MB / 0.5605 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.5e-05/0.1118, allocations: 15.95 kB / 0.5606 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.336e-06/0.1118, allocations: 7.938 kB / 0.5606 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.112, allocations: 127.7 kB / 0.5607 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.112, allocations: 36.41 kB / 0.5607 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.1121, allocations: 47.8 kB / 0.5608 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.1122, allocations: 75.59 kB / 0.5608 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1122, allocations: 4 kB / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.1129, allocations: 443.6 kB / 0.5613 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.1129, allocations: 35.84 kB / 0.5613 GB, free: 7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.113, allocations: 69.52 kB / 0.5614 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1133, allocations: 267.7 kB / 0.5616 GB, free: 6.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.1133, allocations: 0 / 0.5616 GB, free: 6.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1133, allocations: 0 / 0.5616 GB, free: 6.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1134, allocations: 0 / 0.5616 GB, free: 6.664 MB / 430.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.0005583/0.1139, allocations: 0.5372 MB / 0.5621 GB, free: 6.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.114, allocations: 8.031 kB / 0.5621 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.114, allocations: 105.8 kB / 0.5623 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1141, allocations: 106.9 kB / 0.5624 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1143, allocations: 301.1 kB / 0.5626 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.1144, allocations: 150.6 kB / 0.5628 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1144, allocations: 158.6 kB / 0.5629 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.394e-05/0.1144, allocations: 108.9 kB / 0.563 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1145, allocations: 75.28 kB / 0.5631 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.1145, allocations: 154.6 kB / 0.5633 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.1146, allocations: 150.6 kB / 0.5634 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.1146, allocations: 150.6 kB / 0.5635 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.1149, allocations: 0.5405 MB / 0.5641 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.1149, allocations: 173.1 kB / 0.5642 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.115, allocations: 75.28 kB / 0.5643 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.115, allocations: 109.8 kB / 0.5644 GB, free: 3.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.115, allocations: 4 kB / 0.5644 GB, free: 3.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001375/0.1151, allocations: 53.38 kB / 0.5645 GB, free: 3.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1152, allocations: 126.7 kB / 0.5646 GB, free: 3.418 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.1155, allocations: 429.1 kB / 0.565 GB, free: 2.992 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.1155, allocations: 25.7 kB / 0.565 GB, free: 2.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.1156, allocations: 136.5 kB / 0.5652 GB, free: 2.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-06/0.1156, allocations: 0 / 0.5652 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.1156, allocations: 3.938 kB / 0.5652 GB, free: 2.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.1157, allocations: 346.8 kB / 0.5655 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.1158, allocations: 96.5 kB / 0.5656 GB, free: 2.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1159, allocations: 161.3 kB / 0.5657 GB, free: 2.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1161, allocations: 123.8 kB / 0.5659 GB, free: 2.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1161, allocations: 0 / 0.5659 GB, free: 2.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003994/0.1165, allocations: 328.9 kB / 0.5662 GB, free: 1.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1165, allocations: 8 kB / 0.5662 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1165, allocations: 3.984 kB / 0.5662 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1165, allocations: 4 kB / 0.5662 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.1165, allocations: 3.953 kB / 0.5662 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1165, allocations: 4 kB / 0.5662 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1167, allocations: 43.28 kB / 0.5662 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1167, allocations: 7.938 kB / 0.5662 GB, free: 1.68 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.1168, allocations: 249.2 kB / 0.5665 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.1169, allocations: 124.7 kB / 0.5666 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.1169, allocations: 115 kB / 0.5667 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.117, allocations: 180.2 kB / 0.5669 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-05/0.117, allocations: 180.2 kB / 0.567 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-05/0.1171, allocations: 184.2 kB / 0.5672 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1173, allocations: 481.2 kB / 0.5677 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.1173, allocations: 101 kB / 0.5678 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.1174, allocations: 108.9 kB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-05/0.1174, allocations: 176.3 kB / 0.568 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.1175, allocations: 184.2 kB / 0.5682 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.254e-05/0.1175, allocations: 184.3 kB / 0.5684 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.955e-05/0.1176, allocations: 184.2 kB / 0.5686 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.625e-05/0.1177, allocations: 323.3 kB / 0.5689 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.1177, allocations: 209.7 kB / 0.5691 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.1178, allocations: 176.3 kB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1179, allocations: 109 kB / 0.5694 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.118, allocations: 180.2 kB / 0.5695 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.118, allocations: 105 kB / 0.5696 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.1182, allocations: 275.1 kB / 0.5699 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1182, allocations: 0 / 0.5699 GB, free: 13.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1185, allocations: 91.94 kB / 0.57 GB, free: 13.62 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004527/0.119, allocations: 0.9769 MB / 0.5709 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1192, allocations: 159.9 kB / 0.5711 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1192, allocations: 0 / 0.5711 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1192, allocations: 3.938 kB / 0.5711 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1194, allocations: 0.5359 MB / 0.5716 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.1204, allocations: 1.738 MB / 0.5733 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1206, allocations: 0.7878 MB / 0.5741 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.1206, allocations: 4 kB / 0.5741 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.1207, allocations: 55.42 kB / 0.5741 GB, free: 9.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1207, allocations: 0 / 0.5741 GB, free: 9.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3614/0.4821, allocations: 5.901 MB / 0.5799 GB, free: 3.512 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.4823, allocations: 202.5 kB / 0.5801 GB, free: 3.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.38, allocations: 3.312 kB / 0.5801 GB, free: 3.27 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: