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.001182/0.001182, allocations: 105.4 kB / 15.7 MB, free: 24 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.001115/0.001115, allocations: 187.2 kB / 16.64 MB, free: 6.594 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.308/1.308, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.599/1.599, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001358/0.001358, allocations: 68.8 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003668/0.2307, allocations: 1.411 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.2332, allocations: 1.932 MB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.2333, allocations: 0 / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.2345, allocations: 385.9 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.2346, allocations: 23.91 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.2346, allocations: 0 / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.2348, allocations: 123.2 kB / 0.7874 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.2349, allocations: 17.5 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.235, allocations: 43.8 kB / 0.7875 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2351, allocations: 63.64 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2351, allocations: 4 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.2357, allocations: 180 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.2357, allocations: 35.88 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.2358, allocations: 71.56 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.2363, allocations: 291.1 kB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2363, allocations: 0 / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2363, allocations: 4 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2363, allocations: 0 / 0.7881 GB, free: 8.645 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.0007098/0.237, allocations: 498.5 kB / 0.7886 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.237, allocations: 12.03 kB / 0.7886 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.2371, allocations: 106 kB / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.2373, allocations: 92.03 kB / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.2375, allocations: 295.2 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.2376, allocations: 150.9 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.2376, allocations: 166.9 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.507e-05/0.2377, allocations: 104.9 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.2377, allocations: 75.28 kB / 0.7895 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.2378, allocations: 150.6 kB / 0.7897 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.2379, allocations: 150.6 kB / 0.7898 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.2379, allocations: 154.6 kB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.2383, allocations: 0.5055 MB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.2384, allocations: 173.1 kB / 0.7906 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.2384, allocations: 80.14 kB / 0.7907 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.2384, allocations: 79.22 kB / 0.7908 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.2385, allocations: 117.8 kB / 0.7909 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.345e-06/0.2385, allocations: 0 / 0.7909 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001763/0.2387, allocations: 53.39 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.2387, allocations: 126.7 kB / 0.791 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.2391, allocations: 318.3 kB / 0.7913 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2391, allocations: 25.7 kB / 0.7914 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.2392, allocations: 120.4 kB / 0.7915 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2392, allocations: 0 / 0.7915 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.2393, allocations: 69.67 kB / 0.7916 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2394, allocations: 326.8 kB / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.2395, allocations: 71.73 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2396, allocations: 117.9 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.2399, allocations: 209.8 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2399, allocations: 0 / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004132/0.2403, allocations: 241.2 kB / 0.7925 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2403, allocations: 4 kB / 0.7925 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2403, allocations: 4 kB / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2404, allocations: 0 / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.2404, allocations: 4 kB / 0.7925 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2404, allocations: 3.938 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2405, allocations: 31.75 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2405, allocations: 8 kB / 0.7925 GB, free: 3.797 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.0002103/0.2407, allocations: 221.1 kB / 0.7927 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2408, allocations: 120.7 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.2409, allocations: 125.8 kB / 0.793 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.684e-05/0.241, allocations: 176.3 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-05/0.2411, allocations: 184.2 kB / 0.7933 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.2411, allocations: 180.2 kB / 0.7935 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.2414, allocations: 453.2 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/0.2415, allocations: 108.9 kB / 0.794 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.2415, allocations: 101 kB / 0.7941 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.969e-05/0.2416, allocations: 192.2 kB / 0.7943 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.2417, allocations: 180.3 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.971e-05/0.2418, allocations: 180.2 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.776e-05/0.2419, allocations: 176.3 kB / 0.7948 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.242, allocations: 323.6 kB / 0.7951 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2421, allocations: 201.8 kB / 0.7953 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.2422, allocations: 184.2 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2424, allocations: 112.8 kB / 0.7956 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.2425, allocations: 184.3 kB / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.2425, allocations: 105.2 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002069/0.2427, allocations: 221.9 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2427, allocations: 4 kB / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003732/0.2431, allocations: 60 kB / 0.7962 GB, free: 15.86 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.0006026/0.2437, allocations: 0.9178 MB / 0.797 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.2439, allocations: 103.8 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2439, allocations: 0 / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.2439, allocations: 4 kB / 0.7972 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.2444, allocations: 467.1 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.2467, allocations: 2.433 MB / 0.8 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2471, allocations: 0.7431 MB / 0.8007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.2471, allocations: 4 kB / 0.8007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.2471, allocations: 31.42 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2471, allocations: 0 / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.2682, allocations: 4.827 MB / 0.8054 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/7.955, allocations: 6.297 kB / 0.8055 GB, free: 6.312 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)