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.0007384/0.0007381, allocations: 93.73 kB / 16.02 MB, free: 84 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.0007898/0.00079, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6729/0.6729, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003174, allocations: 8 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001531/0.1388, allocations: 1.118 MB / 0.5611 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1411, allocations: 1.881 MB / 0.563 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.1411, allocations: 0 / 0.563 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1422, allocations: 377.1 kB / 0.5633 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.1422, allocations: 15.91 kB / 0.5633 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.085e-06/0.1423, allocations: 0 / 0.5633 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1425, allocations: 135.1 kB / 0.5635 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.1425, allocations: 21.48 kB / 0.5635 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.453e-05/0.1426, allocations: 47.8 kB / 0.5635 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1427, allocations: 63.7 kB / 0.5636 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1428, allocations: 4 kB / 0.5636 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1433, allocations: 183.9 kB / 0.5638 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1433, allocations: 27.91 kB / 0.5638 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1434, allocations: 97.25 kB / 0.5639 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.1439, allocations: 287.1 kB / 0.5642 GB, free: 4.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1439, allocations: 0 / 0.5642 GB, free: 4.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1439, allocations: 0 / 0.5642 GB, free: 4.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1439, allocations: 0 / 0.5642 GB, free: 4.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.0006332/0.1445, allocations: 478.7 kB / 0.5646 GB, free: 4.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1446, allocations: 8.031 kB / 0.5646 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.1446, allocations: 114 kB / 0.5647 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1448, allocations: 95.94 kB / 0.5648 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.145, allocations: 287.4 kB / 0.5651 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.1451, allocations: 162.9 kB / 0.5653 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.1451, allocations: 150.9 kB / 0.5654 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.1452, allocations: 112.9 kB / 0.5655 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.1452, allocations: 75.28 kB / 0.5656 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.1453, allocations: 150.6 kB / 0.5657 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.1453, allocations: 150.6 kB / 0.5659 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.1454, allocations: 154.5 kB / 0.566 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1457, allocations: 0.5134 MB / 0.5665 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.1458, allocations: 169.1 kB / 0.5667 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.1459, allocations: 80.14 kB / 0.5668 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1459, allocations: 79.22 kB / 0.5668 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.146, allocations: 113.8 kB / 0.5669 GB, free: 1.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.146, allocations: 0 / 0.5669 GB, free: 1.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001715/0.1461, allocations: 53.34 kB / 0.567 GB, free: 1.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.1462, allocations: 126.7 kB / 0.5671 GB, free: 1.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.1465, allocations: 322.4 kB / 0.5674 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1465, allocations: 25.7 kB / 0.5674 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.1466, allocations: 116.4 kB / 0.5676 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.1466, allocations: 3.938 kB / 0.5676 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.1467, allocations: 49.69 kB / 0.5676 GB, free: 0.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1468, allocations: 338.8 kB / 0.5679 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.1469, allocations: 63.95 kB / 0.568 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.147, allocations: 125.5 kB / 0.5681 GB, free: 380 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1472, allocations: 209.9 kB / 0.5683 GB, free: 148 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1472, allocations: 0 / 0.5683 GB, free: 148 kB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003952/0.1476, allocations: 233.2 kB / 0.5685 GB, free: 15.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1477, allocations: 9.875 kB / 0.5685 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1477, allocations: 0 / 0.5685 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1477, allocations: 4 kB / 0.5686 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.1477, allocations: 3.984 kB / 0.5686 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1477, allocations: 4 kB / 0.5686 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1478, allocations: 27.59 kB / 0.5686 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1479, allocations: 4.219 kB / 0.5686 GB, free: 15.86 MB / 446.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.0001742/0.148, allocations: 233 kB / 0.5688 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.1481, allocations: 124.7 kB / 0.5689 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.1482, allocations: 113.9 kB / 0.569 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/0.1482, allocations: 184.2 kB / 0.5692 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.1483, allocations: 184.3 kB / 0.5694 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/0.1483, allocations: 176.3 kB / 0.5696 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1486, allocations: 453.1 kB / 0.57 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-05/0.1486, allocations: 108.9 kB / 0.5701 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.1487, allocations: 108.9 kB / 0.5702 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-05/0.1487, allocations: 176.3 kB / 0.5704 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.1488, allocations: 180.3 kB / 0.5705 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.254e-05/0.1489, allocations: 184.2 kB / 0.5707 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.772e-05/0.1489, allocations: 184.3 kB / 0.5709 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.1491, allocations: 323.5 kB / 0.5712 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1492, allocations: 201.8 kB / 0.5714 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.1493, allocations: 180.2 kB / 0.5716 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1494, allocations: 105 kB / 0.5717 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.1495, allocations: 184.2 kB / 0.5718 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.1495, allocations: 105 kB / 0.5719 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1497, allocations: 213.9 kB / 0.5721 GB, free: 12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1497, allocations: 0 / 0.5721 GB, free: 12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1501, allocations: 71.98 kB / 0.5722 GB, free: 11.93 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 (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.0005324/0.1506, allocations: 0.9177 MB / 0.5731 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.1508, allocations: 100.2 kB / 0.5732 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1508, allocations: 4 kB / 0.5732 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.1508, allocations: 0 / 0.5732 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1512, allocations: 0.5234 MB / 0.5737 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.1534, allocations: 2.454 MB / 0.5761 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1537, allocations: 0.7473 MB / 0.5768 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.36e-05/0.1537, allocations: 4 kB / 0.5768 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1537, allocations: 35.42 kB / 0.5769 GB, free: 6.969 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1538, allocations: 0 / 0.5769 GB, free: 6.969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.1679, allocations: 4.535 MB / 0.5813 GB, free: 2.617 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.1682, allocations: 225.4 kB / 0.5815 GB, free: 2.355 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.88, allocations: 4 kB / 0.5815 GB, free: 2.352 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/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)