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.005072/0.005072, allocations: 99.59 kB / 15.73 MB, free: 6.039 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.001226/0.001226, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002669/0.002669, allocations: 290.1 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 88.23 kB / 0.6809 GB, free: 40 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1671, allocations: 86.98 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002419/0.1695, allocations: 1.399 MB / 0.7673 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1719, allocations: 1.932 MB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.1719, allocations: 0 / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.1729, allocations: 389.1 kB / 0.7695 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.173, allocations: 23.91 kB / 0.7695 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.173, allocations: 0 / 0.7695 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1732, allocations: 131.1 kB / 0.7697 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.1733, allocations: 17.5 kB / 0.7697 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.1733, allocations: 39.8 kB / 0.7697 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1735, allocations: 63.7 kB / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1735, allocations: 4 kB / 0.7698 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.174, allocations: 183.9 kB / 0.77 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.174, allocations: 35.83 kB / 0.77 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.1741, allocations: 71.61 kB / 0.7701 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.1746, allocations: 287 kB / 0.7703 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1746, allocations: 8 kB / 0.7703 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1746, allocations: 0 / 0.7703 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1746, allocations: 0 / 0.7703 GB, free: 4.398 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.0006949/0.1753, allocations: 498.4 kB / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1754, allocations: 15.95 kB / 0.7708 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.067e-05/0.1754, allocations: 106 kB / 0.7709 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1756, allocations: 96.12 kB / 0.771 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1758, allocations: 291.4 kB / 0.7713 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.1759, allocations: 154.9 kB / 0.7714 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.176, allocations: 154.9 kB / 0.7716 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.669e-05/0.1761, allocations: 108.9 kB / 0.7717 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.1761, allocations: 75.28 kB / 0.7718 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.1762, allocations: 154.6 kB / 0.7719 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.256e-05/0.1762, allocations: 150.6 kB / 0.7721 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.1763, allocations: 158.5 kB / 0.7722 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1767, allocations: 0.5017 MB / 0.7727 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.1768, allocations: 177.1 kB / 0.7729 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.1768, allocations: 80.14 kB / 0.7729 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1769, allocations: 79.22 kB / 0.773 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.1769, allocations: 109.8 kB / 0.7731 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.177, allocations: 0 / 0.7731 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001723/0.1771, allocations: 53.66 kB / 0.7732 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.1772, allocations: 130.7 kB / 0.7733 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1776, allocations: 322.3 kB / 0.7736 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1776, allocations: 25.7 kB / 0.7736 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1777, allocations: 124.4 kB / 0.7738 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.1777, allocations: 0 / 0.7738 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.1778, allocations: 61.69 kB / 0.7738 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1779, allocations: 334.8 kB / 0.7741 GB, free: 284 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.178, allocations: 55.97 kB / 0.7742 GB, free: 228 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1782, allocations: 125.9 kB / 0.7743 GB, free: 80 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2834/0.4615, allocations: 199.2 kB / 0.7745 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4616, allocations: 0.6875 kB / 0.7745 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004774/0.4621, allocations: 240 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4621, allocations: 8.406 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.4621, allocations: 4.062 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4621, allocations: 1.5 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.4621, allocations: 2.891 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4622, allocations: 2.438 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.4623, allocations: 31.08 kB / 0.7748 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4623, allocations: 4.906 kB / 0.7748 GB, free: 14.99 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.0001721/0.4625, allocations: 231.3 kB / 0.775 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.4625, allocations: 115.5 kB / 0.7751 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.4626, allocations: 118.1 kB / 0.7752 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.4626, allocations: 178.5 kB / 0.7754 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.4626, allocations: 184.7 kB / 0.7756 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.4626, allocations: 183.7 kB / 0.7757 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4628, allocations: 452.9 kB / 0.7762 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.4628, allocations: 105.9 kB / 0.7763 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.4629, allocations: 104.2 kB / 0.7764 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/0.4629, allocations: 184.8 kB / 0.7766 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4629, allocations: 182.5 kB / 0.7767 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/0.4629, allocations: 178.8 kB / 0.7769 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/0.463, allocations: 182.4 kB / 0.7771 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.463, allocations: 337.9 kB / 0.7774 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.4631, allocations: 193.7 kB / 0.7776 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4631, allocations: 178.9 kB / 0.7777 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.4632, allocations: 106.3 kB / 0.7778 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.4633, allocations: 178.5 kB / 0.778 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4633, allocations: 113.8 kB / 0.7781 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001884/0.4635, allocations: 214.1 kB / 0.7783 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4635, allocations: 1.422 kB / 0.7783 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000345/0.4638, allocations: 68.84 kB / 0.7784 GB, free: 11.46 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.0003749/0.4642, allocations: 0.9209 MB / 0.7793 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.4644, allocations: 103.6 kB / 0.7794 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4644, allocations: 0 / 0.7794 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.4644, allocations: 3.938 kB / 0.7794 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.4647, allocations: 465 kB / 0.7798 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.4666, allocations: 2.435 MB / 0.7822 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.4668, allocations: 0.7418 MB / 0.7829 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.4668, allocations: 6.391 kB / 0.783 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.4668, allocations: 38.88 kB / 0.783 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4669, allocations: 0 / 0.783 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.492, allocations: 4.87 MB / 0.7877 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.14, allocations: 9.438 kB / 0.7878 GB, free: 7.414 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)