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.0007592/0.0007592, allocations: 98.58 kB / 16.02 MB, free: 80 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.0008126/0.0008127, allocations: 185.8 kB / 16.92 MB, free: 6.688 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6806/0.6806, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 11.98 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001393/0.1371, allocations: 1.137 MB / 0.5612 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.1402, allocations: 2.589 MB / 0.5637 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.1402, allocations: 0 / 0.5637 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.1417, allocations: 0.5599 MB / 0.5642 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.1418, allocations: 15.91 kB / 0.5642 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.1418, allocations: 0 / 0.5642 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.142, allocations: 174.9 kB / 0.5644 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.1421, allocations: 32.41 kB / 0.5644 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.1422, allocations: 51.75 kB / 0.5645 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1423, allocations: 87.45 kB / 0.5646 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1423, allocations: 4 kB / 0.5646 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/0.1433, allocations: 495.2 kB / 0.5651 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.1433, allocations: 35.83 kB / 0.5651 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1434, allocations: 121.1 kB / 0.5652 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.144, allocations: 402.3 kB / 0.5656 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.144, allocations: 0 / 0.5656 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.144, allocations: 0 / 0.5656 GB, free: 3.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.144, allocations: 0 / 0.5656 GB, free: 3.223 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.000702/0.1448, allocations: 0.5179 MB / 0.5661 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1448, allocations: 8.031 kB / 0.5661 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.1449, allocations: 110 kB / 0.5662 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.145, allocations: 111.8 kB / 0.5663 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1452, allocations: 302.4 kB / 0.5666 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.1453, allocations: 154.9 kB / 0.5667 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.1453, allocations: 150.9 kB / 0.5669 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.067e-05/0.1454, allocations: 105.5 kB / 0.567 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1454, allocations: 79.22 kB / 0.5671 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.1455, allocations: 158.5 kB / 0.5672 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.1455, allocations: 154.6 kB / 0.5674 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.1456, allocations: 154.5 kB / 0.5675 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1459, allocations: 0.5289 MB / 0.568 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.619e-05/0.146, allocations: 173.1 kB / 0.5682 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.146, allocations: 84.08 kB / 0.5683 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.146, allocations: 75.28 kB / 0.5683 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1461, allocations: 105.8 kB / 0.5684 GB, free: 112 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1461, allocations: 0 / 0.5684 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001657/0.1463, allocations: 65.19 kB / 0.5685 GB, free: 40 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1463, allocations: 130.7 kB / 0.5686 GB, free: 15.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.1467, allocations: 433.2 kB / 0.569 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1467, allocations: 29.7 kB / 0.5691 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.1468, allocations: 128.5 kB / 0.5692 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.1468, allocations: 4 kB / 0.5692 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.1469, allocations: 69.67 kB / 0.5693 GB, free: 15.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.147, allocations: 338.8 kB / 0.5696 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1471, allocations: 100.5 kB / 0.5697 GB, free: 14.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1473, allocations: 169.2 kB / 0.5698 GB, free: 14.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.1476, allocations: 305.6 kB / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1476, allocations: 0 / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004637/0.148, allocations: 337 kB / 0.5705 GB, free: 13.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1481, allocations: 13.34 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1481, allocations: 0 / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1481, allocations: 4 kB / 0.5705 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.1481, allocations: 4 kB / 0.5705 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1481, allocations: 0 / 0.5705 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1483, allocations: 43.38 kB / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1483, allocations: 4 kB / 0.5705 GB, free: 13.88 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.0001849/0.1485, allocations: 252.4 kB / 0.5708 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.1485, allocations: 136.5 kB / 0.5709 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.1486, allocations: 111 kB / 0.571 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.1486, allocations: 180.2 kB / 0.5712 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-05/0.1487, allocations: 180.2 kB / 0.5713 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.324e-05/0.1488, allocations: 184.2 kB / 0.5715 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.149, allocations: 473.2 kB / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.1491, allocations: 109 kB / 0.5721 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.1491, allocations: 104.9 kB / 0.5722 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.682e-05/0.1491, allocations: 184.2 kB / 0.5724 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.1492, allocations: 184.2 kB / 0.5725 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-05/0.1493, allocations: 184.3 kB / 0.5727 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-05/0.1493, allocations: 184.4 kB / 0.5729 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1494, allocations: 323.5 kB / 0.5732 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.1495, allocations: 209.6 kB / 0.5734 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.1496, allocations: 180.2 kB / 0.5736 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1497, allocations: 109 kB / 0.5737 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.1498, allocations: 184.2 kB / 0.5738 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.1498, allocations: 105 kB / 0.5739 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1501, allocations: 279.1 kB / 0.5742 GB, free: 9.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1501, allocations: 0 / 0.5742 GB, free: 9.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1504, allocations: 76 kB / 0.5743 GB, free: 9.812 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.0005208/0.151, allocations: 0.9489 MB / 0.5752 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1512, allocations: 167.9 kB / 0.5754 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1512, allocations: 0 / 0.5754 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.1512, allocations: 0 / 0.5754 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1516, allocations: 0.5398 MB / 0.5759 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.1542, allocations: 2.942 MB / 0.5788 GB, free: 5.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1545, allocations: 0.7746 MB / 0.5795 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.209e-05/0.1545, allocations: 3.938 kB / 0.5795 GB, free: 4.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.1546, allocations: 63.23 kB / 0.5796 GB, free: 4.203 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1546, allocations: 0 / 0.5796 GB, free: 4.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/0.3924, allocations: 5.908 MB / 0.5854 GB, free: 31.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.3926, allocations: 221.9 kB / 0.5856 GB, free: 31.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.114, allocations: 0 / 0.5856 GB, free: 31.44 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/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)