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.001044/0.001044, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001206/0.001206, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.29/1.29, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6675/0.6675, allocations: 115.3 MB / 406.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2953, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002197/0.2976, allocations: 1.459 MB / 0.5574 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.2999, allocations: 2.646 MB / 0.56 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2999, allocations: 1.594 kB / 0.56 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3012, allocations: 0.561 MB / 0.5606 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.3012, allocations: 19.88 kB / 0.5606 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.908e-06/0.3012, allocations: 0 / 0.5606 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3014, allocations: 164 kB / 0.5608 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.3015, allocations: 32.59 kB / 0.5608 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.3016, allocations: 54.12 kB / 0.5608 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3017, allocations: 84.75 kB / 0.5609 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3017, allocations: 2.375 kB / 0.5609 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009337/0.3027, allocations: 495.4 kB / 0.5614 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.3027, allocations: 37.91 kB / 0.5614 GB, free: 33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.3028, allocations: 100.5 kB / 0.5615 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.3033, allocations: 389.1 kB / 0.5619 GB, free: 32.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3033, allocations: 0 / 0.5619 GB, free: 32.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3034, allocations: 1 kB / 0.5619 GB, free: 32.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3034, allocations: 0 / 0.5619 GB, free: 32.79 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.0006256/0.304, allocations: 0.5534 MB / 0.5624 GB, free: 32.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.304, allocations: 10.25 kB / 0.5624 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.391e-05/0.3041, allocations: 106.9 kB / 0.5626 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.3042, allocations: 102 kB / 0.5626 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3044, allocations: 306.3 kB / 0.5629 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3044, allocations: 156.3 kB / 0.5631 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.3045, allocations: 154.2 kB / 0.5632 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.715e-05/0.3045, allocations: 102.9 kB / 0.5633 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3045, allocations: 79.22 kB / 0.5634 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3045, allocations: 156.2 kB / 0.5636 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.3046, allocations: 152.4 kB / 0.5637 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.3046, allocations: 151.8 kB / 0.5639 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.3048, allocations: 0.533 MB / 0.5644 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.3049, allocations: 170.9 kB / 0.5645 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.3049, allocations: 86.2 kB / 0.5646 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3049, allocations: 80.28 kB / 0.5647 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3049, allocations: 112.5 kB / 0.5648 GB, free: 29.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.305, allocations: 0 / 0.5648 GB, free: 29.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001542/0.3051, allocations: 55.34 kB / 0.5649 GB, free: 29.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.3051, allocations: 129.5 kB / 0.565 GB, free: 29.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.3055, allocations: 436.2 kB / 0.5654 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3056, allocations: 26.41 kB / 0.5654 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.3056, allocations: 135.2 kB / 0.5655 GB, free: 29.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.3056, allocations: 0 / 0.5655 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.3057, allocations: 96.64 kB / 0.5656 GB, free: 29.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.3058, allocations: 342.8 kB / 0.566 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3059, allocations: 96.09 kB / 0.5661 GB, free: 28.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.306, allocations: 167.3 kB / 0.5662 GB, free: 28.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.3063, allocations: 307 kB / 0.5665 GB, free: 28.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3063, allocations: 0.6094 kB / 0.5665 GB, free: 28.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004462/0.3068, allocations: 326.4 kB / 0.5668 GB, free: 28.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3068, allocations: 12.58 kB / 0.5668 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3068, allocations: 1.062 kB / 0.5668 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3068, allocations: 2.281 kB / 0.5668 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.3068, allocations: 4.016 kB / 0.5668 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3068, allocations: 2.922 kB / 0.5668 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.307, allocations: 48.61 kB / 0.5669 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.307, allocations: 4.781 kB / 0.5669 GB, free: 28.52 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.0001703/0.3072, allocations: 245.5 kB / 0.5671 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3072, allocations: 125.1 kB / 0.5672 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.3073, allocations: 120.6 kB / 0.5674 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.3073, allocations: 179.6 kB / 0.5675 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.3073, allocations: 182.3 kB / 0.5677 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.3073, allocations: 183.4 kB / 0.5679 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3075, allocations: 469.7 kB / 0.5683 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.3075, allocations: 111.3 kB / 0.5684 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.3076, allocations: 106.7 kB / 0.5685 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/0.3076, allocations: 182 kB / 0.5687 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3076, allocations: 184.1 kB / 0.5689 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-05/0.3076, allocations: 178 kB / 0.5691 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-05/0.3077, allocations: 188 kB / 0.5692 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.774e-05/0.3077, allocations: 327.5 kB / 0.5695 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.3078, allocations: 206.1 kB / 0.5697 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.3078, allocations: 186.8 kB / 0.5699 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.308, allocations: 106.9 kB / 0.57 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.308, allocations: 181.5 kB / 0.5702 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.308, allocations: 107.6 kB / 0.5703 GB, free: 24.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.3082, allocations: 276.4 kB / 0.5706 GB, free: 24.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3083, allocations: 1.625 kB / 0.5706 GB, free: 24.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00036/0.3086, allocations: 79.05 kB / 0.5706 GB, free: 24.83 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.0003942/0.309, allocations: 0.9509 MB / 0.5716 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.3092, allocations: 161.2 kB / 0.5717 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3092, allocations: 4.688 kB / 0.5717 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3092, allocations: 4.906 kB / 0.5717 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3095, allocations: 465.1 kB / 0.5722 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.312, allocations: 2.927 MB / 0.575 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3122, allocations: 0.7768 MB / 0.5758 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.47e-05/0.3123, allocations: 3.672 kB / 0.5758 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.3123, allocations: 52.06 kB / 0.5758 GB, free: 20.76 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3123, allocations: 3.938 kB / 0.5759 GB, free: 20.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.3285, allocations: 6.12 MB / 0.5818 GB, free: 20.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/0.3286, allocations: 226.8 kB / 0.582 GB, free: 19.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.146, allocations: 2.656 kB / 0.582 GB, free: 19.91 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)