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.001321/0.001321, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.00135/0.00135, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.295/1.295, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6785/0.6785, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2981, allocations: 76.17 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002066/0.3002, allocations: 1.457 MB / 0.5574 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3018, allocations: 1.906 MB / 0.5593 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.3019, allocations: 0.6875 kB / 0.5593 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.3027, allocations: 374.8 kB / 0.5597 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.3027, allocations: 20.28 kB / 0.5597 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.3027, allocations: 0.8438 kB / 0.5597 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3029, allocations: 120.4 kB / 0.5598 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.303, allocations: 21.14 kB / 0.5598 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.3031, allocations: 45.7 kB / 0.5599 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3032, allocations: 64.83 kB / 0.5599 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3032, allocations: 3.781 kB / 0.5599 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.3036, allocations: 182.3 kB / 0.5601 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.3036, allocations: 33.09 kB / 0.5601 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.3037, allocations: 72.19 kB / 0.5602 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3041, allocations: 290.4 kB / 0.5605 GB, free: 33.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3041, allocations: 0 / 0.5605 GB, free: 33.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3041, allocations: 0 / 0.5605 GB, free: 33.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3041, allocations: 1.906 kB / 0.5605 GB, free: 33.47 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.0005612/0.3047, allocations: 491.9 kB / 0.5609 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3047, allocations: 10.38 kB / 0.561 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.3047, allocations: 113.3 kB / 0.5611 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3049, allocations: 100.5 kB / 0.5612 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.305, allocations: 288 kB / 0.5614 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3051, allocations: 152.3 kB / 0.5616 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3051, allocations: 155.3 kB / 0.5617 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.342e-05/0.3051, allocations: 114.2 kB / 0.5618 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3051, allocations: 77.23 kB / 0.5619 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.3052, allocations: 155.2 kB / 0.5621 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.3052, allocations: 151.4 kB / 0.5622 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.3052, allocations: 152.3 kB / 0.5623 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.3054, allocations: 0.5106 MB / 0.5628 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.3055, allocations: 171.3 kB / 0.563 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.3055, allocations: 81.48 kB / 0.5631 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3055, allocations: 79.97 kB / 0.5632 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3055, allocations: 107.9 kB / 0.5633 GB, free: 30.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3056, allocations: 0.6875 kB / 0.5633 GB, free: 30.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001438/0.3057, allocations: 47.86 kB / 0.5633 GB, free: 30.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.3057, allocations: 131.9 kB / 0.5634 GB, free: 30.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.306, allocations: 322.9 kB / 0.5637 GB, free: 30.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.306, allocations: 25.7 kB / 0.5638 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3061, allocations: 119 kB / 0.5639 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.3061, allocations: 0 / 0.5639 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.3061, allocations: 61.19 kB / 0.5639 GB, free: 30.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.3062, allocations: 335.6 kB / 0.5643 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.3063, allocations: 67.16 kB / 0.5643 GB, free: 29.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.3064, allocations: 121.5 kB / 0.5644 GB, free: 29.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3066, allocations: 208.5 kB / 0.5646 GB, free: 29.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3066, allocations: 1.594 kB / 0.5646 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003607/0.3069, allocations: 238.6 kB / 0.5649 GB, free: 29.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.307, allocations: 6.5 kB / 0.5649 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.307, allocations: 1.75 kB / 0.5649 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.307, allocations: 3.25 kB / 0.5649 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-06/0.307, allocations: 2.828 kB / 0.5649 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.307, allocations: 3.688 kB / 0.5649 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3071, allocations: 30.84 kB / 0.5649 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3071, allocations: 3.844 kB / 0.5649 GB, free: 29.46 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.0001291/0.3073, allocations: 229 kB / 0.5651 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3073, allocations: 127.8 kB / 0.5653 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.3073, allocations: 114.3 kB / 0.5654 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.3074, allocations: 184.3 kB / 0.5655 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.3074, allocations: 177.8 kB / 0.5657 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.3074, allocations: 183.1 kB / 0.5659 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3076, allocations: 452.7 kB / 0.5663 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.3076, allocations: 116.9 kB / 0.5664 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.3076, allocations: 102.1 kB / 0.5665 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.553e-05/0.3077, allocations: 179.2 kB / 0.5667 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3077, allocations: 181.4 kB / 0.5669 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-05/0.3077, allocations: 183.6 kB / 0.5671 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-05/0.3078, allocations: 181.9 kB / 0.5672 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.648e-05/0.3078, allocations: 317.1 kB / 0.5675 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.3079, allocations: 202.3 kB / 0.5677 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3079, allocations: 179.5 kB / 0.5679 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.308, allocations: 106.8 kB / 0.568 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.3081, allocations: 179.8 kB / 0.5682 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3081, allocations: 103.4 kB / 0.5683 GB, free: 25.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3082, allocations: 219.4 kB / 0.5685 GB, free: 25.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3083, allocations: 0 / 0.5685 GB, free: 25.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.3086, allocations: 63.97 kB / 0.5685 GB, free: 25.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.0003707/0.3089, allocations: 0.9341 MB / 0.5694 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.3091, allocations: 102.2 kB / 0.5695 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3091, allocations: 0 / 0.5695 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3091, allocations: 1.906 kB / 0.5695 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3094, allocations: 472.3 kB / 0.57 GB, free: 24.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.3113, allocations: 2.43 MB / 0.5724 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3115, allocations: 0.7477 MB / 0.5731 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.3115, allocations: 3.328 kB / 0.5731 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.3116, allocations: 33.53 kB / 0.5731 GB, free: 21.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3116, allocations: 0 / 0.5731 GB, free: 21.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.3258, allocations: 4.712 MB / 0.5777 GB, free: 21.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.326, allocations: 230.6 kB / 0.578 GB, free: 21.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.096, allocations: 0 / 0.578 GB, free: 21.24 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)