Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_Buildings_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.001475/0.001475, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.002022/0.002022, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.95/1.95, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005549/0.0005555, allocations: 17.06 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2869, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001837/0.2888, allocations: 1.097 MB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2909, allocations: 1.622 MB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.291, allocations: 3.938 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.2921, allocations: 364.1 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.2921, allocations: 23.95 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.2922, allocations: 3.938 kB / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.2924, allocations: 99.78 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.2924, allocations: 17.5 kB / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.2925, allocations: 43.78 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.2926, allocations: 51.8 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2926, allocations: 4 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.2931, allocations: 224 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.2932, allocations: 35.83 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.2932, allocations: 57.64 kB / 0.7908 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.2935, allocations: 167.9 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2935, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2935, allocations: 3.938 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2935, allocations: 0 / 0.7909 GB, free: 8.062 MB / 0.6075 GB 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.0007375/0.2943, allocations: 478.4 kB / 0.7914 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.141e-05/0.2943, allocations: 8.031 kB / 0.7914 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.328e-05/0.2944, allocations: 117.8 kB / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2946, allocations: 99 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2949, allocations: 294 kB / 0.7919 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.295, allocations: 158.6 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.295, allocations: 154.5 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.796e-05/0.2951, allocations: 101 kB / 0.7923 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2952, allocations: 83.28 kB / 0.7924 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.2952, allocations: 150.6 kB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.2953, allocations: 150.6 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.2954, allocations: 154.5 kB / 0.7928 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.2959, allocations: 0.5094 MB / 0.7933 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.2961, allocations: 173.1 kB / 0.7935 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.2962, allocations: 75.28 kB / 0.7935 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.2963, allocations: 105.8 kB / 0.7936 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.2964, allocations: 0 / 0.7936 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.000175/0.2965, allocations: 49.45 kB / 0.7937 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.2966, allocations: 130.7 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.2971, allocations: 318.3 kB / 0.7941 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2971, allocations: 25.7 kB / 0.7941 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.2972, allocations: 112.5 kB / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.2972, allocations: 0 / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2972, allocations: 0 / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2974, allocations: 330.8 kB / 0.7945 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.2975, allocations: 67.94 kB / 0.7946 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2976, allocations: 126.5 kB / 0.7947 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.2977, allocations: 83.89 kB / 0.7948 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2977, allocations: 4 kB / 0.7948 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004121/0.2982, allocations: 229.1 kB / 0.795 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2982, allocations: 8 kB / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2982, allocations: 0 / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2982, allocations: 4.219 kB / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-06/0.2982, allocations: 4 kB / 0.7951 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2982, allocations: 11.92 kB / 0.7951 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2984, allocations: 31.47 kB / 0.7951 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2984, allocations: 8 kB / 0.7951 GB, free: 3.531 MB / 0.6075 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.2986, allocations: 225.1 kB / 0.7953 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2987, allocations: 116.8 kB / 0.7954 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.2988, allocations: 117.9 kB / 0.7955 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/0.2989, allocations: 180.3 kB / 0.7957 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.666e-05/0.299, allocations: 188.2 kB / 0.7959 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.466e-05/0.2991, allocations: 180.3 kB / 0.7961 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.2994, allocations: 449.2 kB / 0.7965 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/0.2994, allocations: 108.9 kB / 0.7966 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.2995, allocations: 109 kB / 0.7967 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.886e-05/0.2996, allocations: 188.2 kB / 0.7969 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.2997, allocations: 176.3 kB / 0.797 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.489e-05/0.2998, allocations: 176.3 kB / 0.7972 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.801e-05/0.2999, allocations: 188.2 kB / 0.7974 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3, allocations: 319.6 kB / 0.7977 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3001, allocations: 193.9 kB / 0.7979 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.3002, allocations: 184.2 kB / 0.7981 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3004, allocations: 112.9 kB / 0.7982 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.3005, allocations: 180.3 kB / 0.7983 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.3005, allocations: 108.9 kB / 0.7984 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001815/0.3007, allocations: 209.9 kB / 0.7986 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3007, allocations: 0 / 0.7986 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003917/0.3011, allocations: 64 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006726/0.3018, allocations: 0.9104 MB / 0.7996 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.302, allocations: 99.89 kB / 0.7997 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.302, allocations: 448 / 0.7997 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.302, allocations: 8.219 kB / 0.7997 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.3026, allocations: 0.5331 MB / 0.8002 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3044, allocations: 1.599 MB / 0.8018 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3049, allocations: 0.7472 MB / 0.8025 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.305, allocations: 0 / 0.8025 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.305, allocations: 39.42 kB / 0.8025 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of SimCode: time 1.143e-06/0.305, allocations: 0 / 0.8025 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.3241, allocations: 4.309 MB / 0.8068 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.3244, allocations: 203.9 kB / 0.8069 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.44, allocations: 3.938 kB / 0.807 GB, free: 7.188 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) Environment - environmentSimulation: