Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_med,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_Buildings_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.00155/0.00155, allocations: 99.86 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.001601/0.001602, 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.846/1.846, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.65 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.0005907/0.000591, allocations: 19.36 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3115, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002115/0.3137, allocations: 1.104 MB / 0.7883 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.3178, allocations: 2.253 MB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.3179, allocations: 0 / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.3201, allocations: 0.5527 MB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.3202, allocations: 11.98 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.738e-06/0.3202, allocations: 0 / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.3205, allocations: 139.7 kB / 0.7912 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.3207, allocations: 32.41 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3208, allocations: 47.73 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.321, allocations: 75.59 kB / 0.7913 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.321, allocations: 8 kB / 0.7913 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3223, allocations: 443.6 kB / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.3224, allocations: 35.84 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.3225, allocations: 61.58 kB / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.3231, allocations: 271.7 kB / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3231, allocations: 0 / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3231, allocations: 3.938 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3231, allocations: 0 / 0.7921 GB, free: 6.879 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.001043/0.3242, allocations: 0.5449 MB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.3242, allocations: 8.031 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.62e-05/0.3243, allocations: 109.8 kB / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.3246, allocations: 103 kB / 0.7929 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.325, allocations: 301 kB / 0.7932 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.3251, allocations: 154.6 kB / 0.7933 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.3252, allocations: 158.6 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.484e-05/0.3253, allocations: 108.9 kB / 0.7936 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.3253, allocations: 75.28 kB / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.3254, allocations: 150.6 kB / 0.7938 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/0.3255, allocations: 154.5 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.3256, allocations: 154.6 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.3262, allocations: 0.5366 MB / 0.7946 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3263, allocations: 173.1 kB / 0.7948 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.3264, allocations: 75.28 kB / 0.7948 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.3264, allocations: 109.8 kB / 0.7949 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.3265, allocations: 4 kB / 0.7949 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0002838/0.3267, allocations: 53.41 kB / 0.795 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.3268, allocations: 130.7 kB / 0.7951 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.3275, allocations: 433.1 kB / 0.7955 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3275, allocations: 25.7 kB / 0.7955 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3276, allocations: 132.5 kB / 0.7957 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.3276, allocations: 4 kB / 0.7957 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-06/0.3277, allocations: 0 / 0.7957 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3278, allocations: 342.8 kB / 0.796 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.328, allocations: 96.5 kB / 0.7961 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3283, allocations: 165.3 kB / 0.7963 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3285, allocations: 123.8 kB / 0.7964 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3285, allocations: 0 / 0.7964 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007824/0.3293, allocations: 328.8 kB / 0.7967 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3293, allocations: 11.94 kB / 0.7967 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3294, allocations: 0 / 0.7967 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3294, allocations: 4 kB / 0.7967 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.3294, allocations: 0 / 0.7967 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3294, allocations: 4 kB / 0.7967 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.3297, allocations: 43.28 kB / 0.7967 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3297, allocations: 12.2 kB / 0.7968 GB, free: 1.871 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.000308/0.33, allocations: 247.7 kB / 0.797 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3301, allocations: 128.7 kB / 0.7971 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.3302, allocations: 107 kB / 0.7972 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.111e-05/0.3303, allocations: 188.2 kB / 0.7974 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.852e-05/0.3304, allocations: 180.3 kB / 0.7976 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.734e-05/0.3305, allocations: 176.3 kB / 0.7977 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3309, allocations: 477.1 kB / 0.7982 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/0.3309, allocations: 101 kB / 0.7983 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.331, allocations: 108.9 kB / 0.7984 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.209e-05/0.3311, allocations: 184.2 kB / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.3312, allocations: 188.2 kB / 0.7988 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/0.3312, allocations: 176.3 kB / 0.7989 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.438e-05/0.3313, allocations: 180.3 kB / 0.7991 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3315, allocations: 327.4 kB / 0.7994 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3317, allocations: 209.7 kB / 0.7996 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3318, allocations: 180.5 kB / 0.7998 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.332, allocations: 113 kB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.3321, allocations: 180.2 kB / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.3321, allocations: 109 kB / 0.8002 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003735/0.3325, allocations: 271.1 kB / 0.8004 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3325, allocations: 0 / 0.8004 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006954/0.3332, allocations: 87.98 kB / 0.8005 GB, free: 13.82 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.0008511/0.3341, allocations: 0.9721 MB / 0.8015 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.3344, allocations: 159.9 kB / 0.8016 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3344, allocations: 4.375 kB / 0.8016 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.3344, allocations: 4 kB / 0.8016 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.3349, allocations: 0.534 MB / 0.8021 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3366, allocations: 1.734 MB / 0.8038 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3371, allocations: 0.7863 MB / 0.8046 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.3371, allocations: 4 kB / 0.8046 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.3372, allocations: 63.03 kB / 0.8047 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.3372, allocations: 0 / 0.8047 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3625, allocations: 5.908 MB / 0.8104 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/0.3629, allocations: 214.5 kB / 0.8106 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.392, allocations: 3.516 kB / 0.8106 GB, free: 3.461 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) Environment - environmentSimulation: