Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_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.01017/0.01018, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.002032/0.002032, allocations: 190 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 286.8 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 98.39 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1665, allocations: 86.97 MB / 0.7659 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002186/0.1687, allocations: 1.405 MB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1708, allocations: 1.925 MB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1708, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.1717, allocations: 389.9 kB / 0.7695 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.1717, allocations: 19.84 kB / 0.7695 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.1717, allocations: 0 / 0.7695 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1719, allocations: 123.2 kB / 0.7696 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.172, allocations: 21.5 kB / 0.7697 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.1721, allocations: 51.78 kB / 0.7697 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.1722, allocations: 59.7 kB / 0.7698 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1722, allocations: 4 kB / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.1726, allocations: 183.9 kB / 0.7699 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.1727, allocations: 27.84 kB / 0.77 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.1727, allocations: 75.61 kB / 0.77 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.1732, allocations: 291.1 kB / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1732, allocations: 0 / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1732, allocations: 0 / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1732, allocations: 4 kB / 0.7703 GB, free: 4.406 MB / 0.5606 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.0006126/0.1738, allocations: 498.5 kB / 0.7708 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1738, allocations: 8.031 kB / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1739, allocations: 106 kB / 0.7709 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.174, allocations: 100 kB / 0.771 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1742, allocations: 295.2 kB / 0.7713 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.1743, allocations: 158.9 kB / 0.7714 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.1744, allocations: 154.9 kB / 0.7716 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.368e-05/0.1744, allocations: 104.9 kB / 0.7717 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1744, allocations: 75.28 kB / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.1745, allocations: 154.5 kB / 0.7719 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.1745, allocations: 154.6 kB / 0.772 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.1746, allocations: 154.6 kB / 0.7722 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.1749, allocations: 0.5016 MB / 0.7727 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.403e-05/0.175, allocations: 173.1 kB / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.175, allocations: 88.08 kB / 0.7729 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.175, allocations: 79.22 kB / 0.773 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1751, allocations: 105.8 kB / 0.7731 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1751, allocations: 0 / 0.7731 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001617/0.1752, allocations: 53.55 kB / 0.7732 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1753, allocations: 126.7 kB / 0.7733 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.1756, allocations: 318.3 kB / 0.7736 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1756, allocations: 29.7 kB / 0.7736 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.1757, allocations: 120.3 kB / 0.7737 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1757, allocations: 0 / 0.7737 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.1757, allocations: 61.69 kB / 0.7738 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1758, allocations: 334.8 kB / 0.7741 GB, free: 300 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.1759, allocations: 63.95 kB / 0.7742 GB, free: 236 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.176, allocations: 118 kB / 0.7743 GB, free: 96 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3068/0.4828, allocations: 202.2 kB / 0.7745 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4829, allocations: 1.812 kB / 0.7745 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005557/0.4834, allocations: 235.2 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4835, allocations: 6.641 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4835, allocations: 7.594 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4835, allocations: 2.281 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-06/0.4835, allocations: 2.812 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4835, allocations: 2.781 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.4837, allocations: 30.81 kB / 0.7747 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4837, allocations: 8.016 kB / 0.7748 GB, free: 15.05 MB / 0.5606 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.0002159/0.4839, allocations: 228.3 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.484, allocations: 117.7 kB / 0.7751 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.484, allocations: 120.4 kB / 0.7752 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.4841, allocations: 178.4 kB / 0.7754 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.4841, allocations: 178.3 kB / 0.7755 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.4841, allocations: 184.8 kB / 0.7757 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.4843, allocations: 454.2 kB / 0.7762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.4844, allocations: 106.2 kB / 0.7763 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.4844, allocations: 103.4 kB / 0.7764 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/0.4844, allocations: 185 kB / 0.7765 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.4845, allocations: 179 kB / 0.7767 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/0.4845, allocations: 182.5 kB / 0.7769 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.402e-05/0.4845, allocations: 181.1 kB / 0.777 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.4846, allocations: 330.1 kB / 0.7774 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.4847, allocations: 202.3 kB / 0.7776 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.4847, allocations: 179 kB / 0.7777 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4848, allocations: 107.4 kB / 0.7778 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.4849, allocations: 179.2 kB / 0.778 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4849, allocations: 107.2 kB / 0.7781 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002559/0.4852, allocations: 214.4 kB / 0.7783 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.102e-06/0.4852, allocations: 0.7188 kB / 0.7783 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004433/0.4856, allocations: 73.12 kB / 0.7784 GB, free: 11.52 MB / 0.5606 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.0004662/0.4861, allocations: 0.917 MB / 0.7793 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.4863, allocations: 103.2 kB / 0.7794 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4863, allocations: 0 / 0.7794 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.4863, allocations: 3.375 kB / 0.7794 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4866, allocations: 466.9 kB / 0.7798 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.4887, allocations: 2.437 MB / 0.7822 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.489, allocations: 0.7401 MB / 0.7829 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.489, allocations: 3.547 kB / 0.7829 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.489, allocations: 36.27 kB / 0.783 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.489, allocations: 3.844 kB / 0.783 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.5125, allocations: 4.861 MB / 0.7877 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.983, allocations: 15.89 kB / 0.7877 GB, free: 7.484 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)