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.0008375/0.0008375, allocations: 97.2 kB / 15.69 MB, free: 480 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.0008101/0.0008101, allocations: 177.1 kB / 16.57 MB, free: 6.859 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.116/1.116, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.564/0.564, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002538, allocations: 8 kB / 493 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001072/0.1085, allocations: 1.086 MB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.11, allocations: 1.633 MB / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1101, allocations: 0 / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.1108, allocations: 366.6 kB / 0.5597 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.1108, allocations: 19.95 kB / 0.5597 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.1108, allocations: 0 / 0.5597 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1109, allocations: 99.72 kB / 0.5598 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.111, allocations: 17.5 kB / 0.5599 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.111, allocations: 43.86 kB / 0.5599 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.1111, allocations: 55.78 kB / 0.56 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1111, allocations: 4 kB / 0.56 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.1115, allocations: 227.9 kB / 0.5602 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.1116, allocations: 31.89 kB / 0.5602 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1116, allocations: 49.64 kB / 0.5603 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1118, allocations: 171.8 kB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.1118, allocations: 0 / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1118, allocations: 0 / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.1118, allocations: 4 kB / 0.5604 GB, free: 7.91 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.0004996/0.1124, allocations: 474.5 kB / 0.5609 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1124, allocations: 12.03 kB / 0.5609 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.1124, allocations: 109.8 kB / 0.561 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.1126, allocations: 99.08 kB / 0.5611 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1127, allocations: 282.1 kB / 0.5614 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.1128, allocations: 154.6 kB / 0.5615 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1128, allocations: 158.5 kB / 0.5617 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.924e-05/0.1129, allocations: 104.9 kB / 0.5618 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.1129, allocations: 75.28 kB / 0.5618 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1129, allocations: 154.6 kB / 0.562 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.113, allocations: 154.6 kB / 0.5621 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.581e-05/0.113, allocations: 154.5 kB / 0.5623 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.1133, allocations: 0.5055 MB / 0.5628 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.1133, allocations: 165.1 kB / 0.5629 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1134, allocations: 79.28 kB / 0.563 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1134, allocations: 109.8 kB / 0.5631 GB, free: 4.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1134, allocations: 0 / 0.5631 GB, free: 4.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001369/0.1135, allocations: 53.31 kB / 0.5631 GB, free: 4.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1136, allocations: 130.7 kB / 0.5633 GB, free: 4.789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1138, allocations: 314.3 kB / 0.5636 GB, free: 4.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1139, allocations: 29.7 kB / 0.5636 GB, free: 4.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1139, allocations: 124.3 kB / 0.5637 GB, free: 4.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1139, allocations: 0 / 0.5637 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1139, allocations: 4 kB / 0.5637 GB, free: 4.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.114, allocations: 326.8 kB / 0.564 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.1141, allocations: 59.95 kB / 0.5641 GB, free: 3.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.1142, allocations: 130.1 kB / 0.5642 GB, free: 3.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.1143, allocations: 83.95 kB / 0.5643 GB, free: 3.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1143, allocations: 3.938 kB / 0.5643 GB, free: 3.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003303/0.1146, allocations: 233.3 kB / 0.5645 GB, free: 3.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1146, allocations: 6.188 kB / 0.5645 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1146, allocations: 0 / 0.5645 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1147, allocations: 4 kB / 0.5645 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.1147, allocations: 7.891 kB / 0.5645 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1147, allocations: 7.984 kB / 0.5645 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1148, allocations: 27.59 kB / 0.5646 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1148, allocations: 8.219 kB / 0.5646 GB, free: 3.398 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.0001304/0.1149, allocations: 227.2 kB / 0.5648 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.115, allocations: 124.6 kB / 0.5649 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.115, allocations: 109.9 kB / 0.565 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/0.1151, allocations: 180.3 kB / 0.5652 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/0.1151, allocations: 192.1 kB / 0.5654 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/0.1152, allocations: 176.3 kB / 0.5655 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1154, allocations: 453.1 kB / 0.566 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.1154, allocations: 109 kB / 0.5661 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.1154, allocations: 105 kB / 0.5662 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.881e-05/0.1155, allocations: 180.4 kB / 0.5664 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.1155, allocations: 180.3 kB / 0.5665 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.403e-05/0.1156, allocations: 192.2 kB / 0.5667 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.05e-05/0.1156, allocations: 180.2 kB / 0.5669 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.255e-05/0.1157, allocations: 315.5 kB / 0.5672 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.1158, allocations: 201.9 kB / 0.5674 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.1159, allocations: 184.2 kB / 0.5675 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.116, allocations: 101 kB / 0.5676 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.116, allocations: 176.3 kB / 0.5678 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1161, allocations: 108.9 kB / 0.5679 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1162, allocations: 213.9 kB / 0.5681 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1162, allocations: 4 kB / 0.5681 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1165, allocations: 67.95 kB / 0.5682 GB, free: 15.48 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.0004007/0.1169, allocations: 0.9178 MB / 0.5691 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1171, allocations: 103.8 kB / 0.5692 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1171, allocations: 3.938 kB / 0.5692 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.1171, allocations: 0 / 0.5692 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1173, allocations: 0.5329 MB / 0.5697 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.1181, allocations: 1.595 MB / 0.5713 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1183, allocations: 0.7472 MB / 0.572 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.215e-06/0.1183, allocations: 0 / 0.572 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1184, allocations: 39.42 kB / 0.572 GB, free: 11.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1184, allocations: 0 / 0.572 GB, free: 11.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3598/0.4782, allocations: 4.295 MB / 0.5762 GB, free: 7.293 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.4785, allocations: 204.3 kB / 0.5764 GB, free: 7.047 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.225, allocations: 0 / 0.5764 GB, free: 7.047 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: