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.0009823/0.0009824, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009365/0.0009365, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.152/1.152, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.464/1.464, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001249/0.001249, allocations: 64.38 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0022/0.1636, allocations: 1.466 MB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1655, allocations: 1.912 MB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.1655, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009045/0.1664, allocations: 374.1 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.1665, allocations: 15.91 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.1665, allocations: 4 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1667, allocations: 115.2 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.1667, allocations: 17.5 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.1668, allocations: 51.78 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.95e-05/0.1669, allocations: 71.64 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1669, allocations: 0 / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.1673, allocations: 180 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.1673, allocations: 31.89 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.1674, allocations: 67.56 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1678, allocations: 287.1 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1678, allocations: 0 / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1678, allocations: 0 / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1678, allocations: 0 / 0.7874 GB, free: 9.195 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.0005628/0.1684, allocations: 498.5 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1684, allocations: 16.03 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1685, allocations: 106 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1686, allocations: 92.03 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1688, allocations: 303.2 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.1688, allocations: 150.9 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1689, allocations: 154.9 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.1689, allocations: 120.9 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.169, allocations: 75.28 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.169, allocations: 150.6 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.169, allocations: 150.6 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.1691, allocations: 150.6 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.1694, allocations: 0.5056 MB / 0.7898 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.533e-05/0.1694, allocations: 169.1 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.1695, allocations: 84.14 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1695, allocations: 79.22 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1695, allocations: 113.8 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1696, allocations: 4 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001496/0.1697, allocations: 53.56 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1698, allocations: 130.6 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.17, allocations: 318.3 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.17, allocations: 25.7 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.1701, allocations: 116.4 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.1701, allocations: 0 / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.1702, allocations: 65.67 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.1703, allocations: 330.8 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.1704, allocations: 71.88 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.1705, allocations: 118.4 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1706, allocations: 217.8 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1707, allocations: 0 / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003609/0.171, allocations: 241.2 kB / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.171, allocations: 4 kB / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1711, allocations: 0 / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1711, allocations: 4 kB / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1711, allocations: 0 / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1711, allocations: 7.938 kB / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1712, allocations: 31.53 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1712, allocations: 4.219 kB / 0.7919 GB, free: 4.336 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.0001377/0.1714, allocations: 226 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1714, allocations: 120.7 kB / 0.7922 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.1715, allocations: 121.8 kB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/0.1715, allocations: 176.3 kB / 0.7925 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.137e-05/0.1716, allocations: 184.2 kB / 0.7927 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.463e-05/0.1716, allocations: 176.3 kB / 0.7928 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1718, allocations: 449.2 kB / 0.7933 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.1719, allocations: 112.9 kB / 0.7934 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1719, allocations: 101 kB / 0.7935 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.971e-05/0.172, allocations: 184.2 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.172, allocations: 184.3 kB / 0.7938 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-05/0.1721, allocations: 180.3 kB / 0.794 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.707e-05/0.1721, allocations: 180.2 kB / 0.7942 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1722, allocations: 323.6 kB / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.1723, allocations: 201.8 kB / 0.7947 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.1724, allocations: 180.3 kB / 0.7948 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1725, allocations: 108.9 kB / 0.795 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1725, allocations: 176.3 kB / 0.7951 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.1726, allocations: 108.9 kB / 0.7952 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001571/0.1727, allocations: 213.9 kB / 0.7954 GB, free: 500 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1728, allocations: 3.938 kB / 0.7954 GB, free: 496 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002936/0.1731, allocations: 68 kB / 0.7955 GB, free: 428 kB / 0.6075 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.0004592/0.1735, allocations: 0.9221 MB / 0.7964 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1737, allocations: 99.89 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1737, allocations: 0 / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.1737, allocations: 3.938 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.174, allocations: 464.7 kB / 0.7969 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.176, allocations: 2.447 MB / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1762, allocations: 0.7392 MB / 0.8001 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.1763, allocations: 7.984 kB / 0.8001 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1763, allocations: 31.42 kB / 0.8001 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.1763, allocations: 0 / 0.8001 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.152/4.328, allocations: 4.731 MB / 0.8047 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000319/4.328, allocations: 227.6 kB / 0.8049 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/6.394, allocations: 0 / 0.8049 GB, free: 6.73 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/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)