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.001364/0.001364, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001414, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.697/1.697, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001431/0.001432, allocations: 68.61 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2157, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002652/0.2184, allocations: 1.422 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.2213, allocations: 2.667 MB / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.2213, allocations: 0 / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.2226, allocations: 0.5831 MB / 0.7882 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.2226, allocations: 19.91 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.2227, allocations: 3.938 kB / 0.7882 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.2229, allocations: 158.9 kB / 0.7884 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.223, allocations: 32.41 kB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.223, allocations: 63.66 kB / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2232, allocations: 75.53 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2232, allocations: 4 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008763/0.2241, allocations: 475.3 kB / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.2241, allocations: 35.83 kB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.2242, allocations: 99.36 kB / 0.7891 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.2248, allocations: 434.3 kB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2248, allocations: 0 / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2248, allocations: 0 / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2248, allocations: 0 / 0.7895 GB, free: 7.172 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.0006819/0.2255, allocations: 0.5529 MB / 0.7901 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2255, allocations: 12.02 kB / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.2256, allocations: 106 kB / 0.7902 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2257, allocations: 103.8 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.2259, allocations: 306.3 kB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.226, allocations: 154.9 kB / 0.7907 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.2261, allocations: 166.9 kB / 0.7909 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.076e-05/0.2261, allocations: 101.5 kB / 0.791 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2262, allocations: 79.22 kB / 0.791 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.2262, allocations: 150.6 kB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.01e-05/0.2263, allocations: 150.6 kB / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.2263, allocations: 162.6 kB / 0.7915 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.2266, allocations: 0.5249 MB / 0.792 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.2267, allocations: 169.1 kB / 0.7922 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.2268, allocations: 88.14 kB / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2268, allocations: 75.28 kB / 0.7923 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2268, allocations: 113.8 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2268, allocations: 0 / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001754/0.227, allocations: 65.19 kB / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.2271, allocations: 126.7 kB / 0.7926 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.2275, allocations: 429.3 kB / 0.793 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2275, allocations: 25.7 kB / 0.793 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.2276, allocations: 140.5 kB / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.2276, allocations: 0 / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.2277, allocations: 93.66 kB / 0.7933 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2278, allocations: 338.8 kB / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2279, allocations: 96.5 kB / 0.7937 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2281, allocations: 161.3 kB / 0.7938 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.2284, allocations: 309.6 kB / 0.7941 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2284, allocations: 0 / 0.7941 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004771/0.2289, allocations: 332.9 kB / 0.7945 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2289, allocations: 12.88 kB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2289, allocations: 0 / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2289, allocations: 4 kB / 0.7945 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.2289, allocations: 3.938 kB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2289, allocations: 8.219 kB / 0.7945 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2291, allocations: 39.38 kB / 0.7945 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2291, allocations: 7.984 kB / 0.7945 GB, free: 1.766 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002075/0.2293, allocations: 241.7 kB / 0.7948 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.2294, allocations: 128.5 kB / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.2294, allocations: 118.8 kB / 0.795 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/0.2295, allocations: 184.2 kB / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/0.2295, allocations: 188.2 kB / 0.7953 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-05/0.2296, allocations: 176.3 kB / 0.7955 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.2299, allocations: 481.1 kB / 0.796 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/0.2299, allocations: 101 kB / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.23, allocations: 101 kB / 0.7962 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/0.23, allocations: 192.1 kB / 0.7963 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.2301, allocations: 180.2 kB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.418e-05/0.2302, allocations: 184.1 kB / 0.7967 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-05/0.2302, allocations: 176.5 kB / 0.7969 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2304, allocations: 331.5 kB / 0.7972 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.2305, allocations: 205.7 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.2305, allocations: 184.1 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2307, allocations: 109 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.2307, allocations: 184.2 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.2308, allocations: 101 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002404/0.231, allocations: 279.1 kB / 0.7982 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.231, allocations: 0 / 0.7982 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000355/0.2314, allocations: 80 kB / 0.7983 GB, free: 13.7 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 (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.0005857/0.232, allocations: 0.9634 MB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2322, allocations: 167.9 kB / 0.7994 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2322, allocations: 0 / 0.7994 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.2322, allocations: 4 kB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2326, allocations: 467.6 kB / 0.7998 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.2351, allocations: 2.937 MB / 0.8027 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2354, allocations: 0.7743 MB / 0.8034 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.2355, allocations: 7.984 kB / 0.8035 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.2355, allocations: 47.42 kB / 0.8035 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2355, allocations: 0 / 0.8035 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2578, allocations: 6.406 MB / 0.8098 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.824, allocations: 6.969 kB / 0.8098 GB, free: 1.906 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/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)