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.001264/0.001264, allocations: 101.5 kB / 16.27 MB, free: 5.977 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.001392/0.001392, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7061/0.7061, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3429, allocations: 77.93 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00217/0.3451, allocations: 1.396 MB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.3475, allocations: 2.674 MB / 0.5713 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.3476, allocations: 0 / 0.5713 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.3488, allocations: 0.5869 MB / 0.5718 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.3489, allocations: 21.59 kB / 0.5719 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.3489, allocations: 0.5625 kB / 0.5719 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3491, allocations: 153.1 kB / 0.572 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.408e-05/0.3492, allocations: 38.78 kB / 0.572 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.3492, allocations: 54.25 kB / 0.5721 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3494, allocations: 84.73 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3494, allocations: 3.75 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.3504, allocations: 462.9 kB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.3504, allocations: 37.42 kB / 0.5727 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.3506, allocations: 101.4 kB / 0.5728 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.3512, allocations: 439.1 kB / 0.5732 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3512, allocations: 1.719 kB / 0.5732 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3512, allocations: 0.875 kB / 0.5732 GB, free: 29.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3512, allocations: 0 / 0.5732 GB, free: 29.07 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.0006754/0.3519, allocations: 0.5456 MB / 0.5737 GB, free: 28.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3519, allocations: 9.281 kB / 0.5737 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.352, allocations: 108 kB / 0.5738 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.3521, allocations: 105.9 kB / 0.5739 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3524, allocations: 304.2 kB / 0.5742 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.3524, allocations: 157.2 kB / 0.5744 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3524, allocations: 154.5 kB / 0.5745 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.209e-05/0.3525, allocations: 102.7 kB / 0.5746 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.3525, allocations: 85.02 kB / 0.5747 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.3526, allocations: 151.5 kB / 0.5748 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.3526, allocations: 151.8 kB / 0.575 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.3526, allocations: 151.5 kB / 0.5751 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.353, allocations: 0.5373 MB / 0.5756 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.353, allocations: 167.8 kB / 0.5758 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.3531, allocations: 92.81 kB / 0.5759 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3531, allocations: 80.94 kB / 0.576 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3531, allocations: 108.7 kB / 0.5761 GB, free: 26.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3531, allocations: 0.8438 kB / 0.5761 GB, free: 26.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001702/0.3533, allocations: 58.52 kB / 0.5761 GB, free: 26.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3534, allocations: 128.2 kB / 0.5763 GB, free: 25.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.3538, allocations: 435.2 kB / 0.5767 GB, free: 25.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3538, allocations: 25.7 kB / 0.5767 GB, free: 25.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.3539, allocations: 131 kB / 0.5768 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.3539, allocations: 0 / 0.5768 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3541, allocations: 93.67 kB / 0.5769 GB, free: 25.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3542, allocations: 341.3 kB / 0.5772 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3543, allocations: 96.05 kB / 0.5773 GB, free: 25.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3545, allocations: 170.9 kB / 0.5775 GB, free: 25.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.3549, allocations: 303.3 kB / 0.5778 GB, free: 24.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3549, allocations: 4.656 kB / 0.5778 GB, free: 24.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005424/0.3554, allocations: 326.5 kB / 0.5781 GB, free: 24.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3554, allocations: 11.31 kB / 0.5781 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3555, allocations: 2.219 kB / 0.5781 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3555, allocations: 3.391 kB / 0.5781 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.3555, allocations: 1.469 kB / 0.5781 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3555, allocations: 4.25 kB / 0.5781 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3556, allocations: 48.36 kB / 0.5782 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3557, allocations: 6.266 kB / 0.5782 GB, free: 24.8 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.0002165/0.3559, allocations: 246.5 kB / 0.5784 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.3559, allocations: 128.2 kB / 0.5785 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.356, allocations: 116.3 kB / 0.5786 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.356, allocations: 178.5 kB / 0.5788 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-05/0.3561, allocations: 183 kB / 0.579 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.3561, allocations: 181.5 kB / 0.5791 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.3563, allocations: 469.6 kB / 0.5796 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.3563, allocations: 112.2 kB / 0.5797 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.3564, allocations: 102.8 kB / 0.5798 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.722e-05/0.3564, allocations: 186.6 kB / 0.58 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.3564, allocations: 182.1 kB / 0.5802 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-05/0.3565, allocations: 179.7 kB / 0.5803 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.698e-05/0.3565, allocations: 185.4 kB / 0.5805 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.234e-05/0.3566, allocations: 330.4 kB / 0.5808 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.3566, allocations: 199.8 kB / 0.581 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.3567, allocations: 184.3 kB / 0.5812 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3568, allocations: 109.5 kB / 0.5813 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3568, allocations: 188.8 kB / 0.5815 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3569, allocations: 109.4 kB / 0.5816 GB, free: 21.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.3572, allocations: 279.1 kB / 0.5818 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3572, allocations: 0 / 0.5818 GB, free: 21.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.3576, allocations: 83.17 kB / 0.5819 GB, free: 21.12 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.000608/0.3582, allocations: 0.9549 MB / 0.5828 GB, free: 20.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.3585, allocations: 170 kB / 0.583 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3585, allocations: 0 / 0.583 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3585, allocations: 1.875 kB / 0.583 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3589, allocations: 465.2 kB / 0.5835 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3614, allocations: 2.906 MB / 0.5863 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3616, allocations: 0.7775 MB / 0.5871 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.513e-05/0.3617, allocations: 7.125 kB / 0.5871 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.3617, allocations: 51.25 kB / 0.5871 GB, free: 17.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3617, allocations: 0 / 0.5871 GB, free: 17.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.3829, allocations: 6.39 MB / 0.5934 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.272, allocations: 1.188 kB / 0.5934 GB, free: 14.33 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)