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.001001/0.001001, allocations: 102.1 kB / 16.27 MB, free: 5.93 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.001116/0.001116, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7207/0.7207, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3256, allocations: 77.92 MB / 0.5673 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00242/0.3281, allocations: 1.385 MB / 0.5686 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.3302, allocations: 1.939 MB / 0.5705 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.3302, allocations: 1.469 kB / 0.5705 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3313, allocations: 385.1 kB / 0.5709 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.3314, allocations: 16.62 kB / 0.5709 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.139e-06/0.3314, allocations: 0 / 0.5709 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3316, allocations: 124.5 kB / 0.571 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.3317, allocations: 20.28 kB / 0.5711 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.3318, allocations: 41.09 kB / 0.5711 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3319, allocations: 67.5 kB / 0.5712 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3319, allocations: 3.219 kB / 0.5712 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.3324, allocations: 176 kB / 0.5713 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.3325, allocations: 33.77 kB / 0.5714 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.3326, allocations: 76.59 kB / 0.5714 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.333, allocations: 295.1 kB / 0.5717 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3331, allocations: 0 / 0.5717 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3331, allocations: 0 / 0.5717 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3331, allocations: 2.094 kB / 0.5717 GB, free: 30.09 MB / 446.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.0006709/0.3338, allocations: 493.2 kB / 0.5722 GB, free: 29.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3338, allocations: 10.11 kB / 0.5722 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.3338, allocations: 107.2 kB / 0.5723 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.334, allocations: 96.33 kB / 0.5724 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3342, allocations: 292.7 kB / 0.5727 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.3342, allocations: 159.9 kB / 0.5728 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3343, allocations: 156.1 kB / 0.573 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.139e-05/0.3343, allocations: 108.9 kB / 0.5731 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3343, allocations: 76.66 kB / 0.5731 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3344, allocations: 153 kB / 0.5733 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.3344, allocations: 150.6 kB / 0.5734 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.3344, allocations: 152.2 kB / 0.5736 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.3347, allocations: 0.5034 MB / 0.5741 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.3347, allocations: 175.2 kB / 0.5742 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.3348, allocations: 81.3 kB / 0.5743 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3348, allocations: 79.22 kB / 0.5744 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3348, allocations: 108 kB / 0.5745 GB, free: 27.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3348, allocations: 0.625 kB / 0.5745 GB, free: 27.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.00016/0.335, allocations: 47.86 kB / 0.5745 GB, free: 27.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.335, allocations: 132.5 kB / 0.5747 GB, free: 27.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.3353, allocations: 322.7 kB / 0.575 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3353, allocations: 26.64 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.3354, allocations: 117.3 kB / 0.5751 GB, free: 26.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.3354, allocations: 3.062 kB / 0.5751 GB, free: 26.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.3355, allocations: 60.72 kB / 0.5752 GB, free: 26.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.3356, allocations: 334.9 kB / 0.5755 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.3356, allocations: 63.95 kB / 0.5756 GB, free: 26.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3358, allocations: 119.5 kB / 0.5757 GB, free: 26.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.336, allocations: 211.6 kB / 0.5759 GB, free: 26.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.336, allocations: 5.469 kB / 0.5759 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003822/0.3364, allocations: 232.5 kB / 0.5761 GB, free: 26.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3364, allocations: 7.094 kB / 0.5761 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3364, allocations: 1.156 kB / 0.5761 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3364, allocations: 2.438 kB / 0.5761 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.3364, allocations: 5.266 kB / 0.5761 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3364, allocations: 5.859 kB / 0.5761 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3366, allocations: 30.55 kB / 0.5762 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3366, allocations: 12.06 kB / 0.5762 GB, free: 26.07 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.0001423/0.3367, allocations: 219.9 kB / 0.5764 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.3368, allocations: 125.6 kB / 0.5765 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.3368, allocations: 114.7 kB / 0.5766 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.3368, allocations: 182.8 kB / 0.5768 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.831e-05/0.3369, allocations: 181.8 kB / 0.5769 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.3369, allocations: 182.7 kB / 0.5771 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3371, allocations: 450.6 kB / 0.5776 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.3371, allocations: 110.7 kB / 0.5777 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.3372, allocations: 106.8 kB / 0.5778 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.617e-05/0.3372, allocations: 186.9 kB / 0.5779 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.3372, allocations: 177.8 kB / 0.5781 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-05/0.3373, allocations: 180 kB / 0.5783 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.539e-05/0.3373, allocations: 181.9 kB / 0.5785 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.188e-05/0.3374, allocations: 320 kB / 0.5788 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.3374, allocations: 205 kB / 0.579 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.3375, allocations: 179.1 kB / 0.5791 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3376, allocations: 110.8 kB / 0.5792 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3377, allocations: 178.1 kB / 0.5794 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3377, allocations: 106.8 kB / 0.5795 GB, free: 22.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.3379, allocations: 215.5 kB / 0.5797 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3379, allocations: 0 / 0.5797 GB, free: 22.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.3383, allocations: 65.39 kB / 0.5798 GB, free: 22.44 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.000438/0.3387, allocations: 0.926 MB / 0.5807 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.3389, allocations: 97.19 kB / 0.5808 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3389, allocations: 1.531 kB / 0.5808 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.3389, allocations: 4.438 kB / 0.5808 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3392, allocations: 464.6 kB / 0.5812 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3412, allocations: 2.42 MB / 0.5836 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.3414, allocations: 0.7426 MB / 0.5843 GB, free: 18.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.411e-05/0.3414, allocations: 3.156 kB / 0.5843 GB, free: 18.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.3415, allocations: 37.81 kB / 0.5843 GB, free: 18.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3415, allocations: 1.344 kB / 0.5843 GB, free: 18.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.3612, allocations: 4.803 MB / 0.589 GB, free: 16.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.232, allocations: 6.969 kB / 0.589 GB, free: 16.89 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)