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.005029/0.005029, allocations: 100.2 kB / 15.73 MB, free: 5.602 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.002132/0.002132, allocations: 190.5 kB / 16.68 MB, free: 5.523 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 282.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 178.6 MB / 0.5074 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 99.84 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3746, allocations: 89.13 MB / 0.7813 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002278/0.377, allocations: 1.401 MB / 0.7827 GB, free: 36 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3794, allocations: 1.931 MB / 0.7846 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.3794, allocations: 5.25 kB / 0.7846 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009575/0.3804, allocations: 379.2 kB / 0.7849 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.3805, allocations: 20.06 kB / 0.785 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.3805, allocations: 0 / 0.785 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3807, allocations: 127.5 kB / 0.7851 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.3808, allocations: 30.14 kB / 0.7851 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.3808, allocations: 42.55 kB / 0.7851 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.381, allocations: 59 kB / 0.7852 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.381, allocations: 2.625 kB / 0.7852 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.3815, allocations: 186 kB / 0.7854 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.3815, allocations: 34.78 kB / 0.7854 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.3816, allocations: 69.22 kB / 0.7855 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3821, allocations: 291.2 kB / 0.7858 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3822, allocations: 1.125 kB / 0.7858 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3822, allocations: 4 kB / 0.7858 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.3822, allocations: 0 / 0.7858 GB, free: 13.81 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.0007186/0.3829, allocations: 0.4907 MB / 0.7862 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3829, allocations: 8.688 kB / 0.7863 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.383, allocations: 111.3 kB / 0.7864 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3832, allocations: 93.53 kB / 0.7864 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3834, allocations: 293 kB / 0.7867 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.3835, allocations: 156.1 kB / 0.7869 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.3836, allocations: 154.2 kB / 0.787 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.363e-05/0.3837, allocations: 104.9 kB / 0.7871 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.3837, allocations: 84.31 kB / 0.7872 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.3838, allocations: 154.5 kB / 0.7874 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.3839, allocations: 154.6 kB / 0.7875 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.516e-05/0.3839, allocations: 155.5 kB / 0.7876 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3843, allocations: 0.505 MB / 0.7881 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.3844, allocations: 166.3 kB / 0.7883 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.3845, allocations: 84.14 kB / 0.7884 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.3845, allocations: 80.22 kB / 0.7885 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.3846, allocations: 114.9 kB / 0.7886 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.3846, allocations: 0 / 0.7886 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001758/0.3848, allocations: 51.47 kB / 0.7886 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.3848, allocations: 131.8 kB / 0.7887 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.3852, allocations: 320 kB / 0.789 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3852, allocations: 25.7 kB / 0.7891 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.3853, allocations: 119.6 kB / 0.7892 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3853, allocations: 1.094 kB / 0.7892 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.3854, allocations: 64.52 kB / 0.7892 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3855, allocations: 328.8 kB / 0.7896 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.3856, allocations: 64.14 kB / 0.7896 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3858, allocations: 122.5 kB / 0.7897 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.386, allocations: 199.9 kB / 0.7899 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.386, allocations: 1.188 kB / 0.7899 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004151/0.3864, allocations: 246.1 kB / 0.7902 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3865, allocations: 8.625 kB / 0.7902 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3865, allocations: 5.375 kB / 0.7902 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3865, allocations: 2.156 kB / 0.7902 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3865, allocations: 3.094 kB / 0.7902 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3865, allocations: 1.125 kB / 0.7902 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3866, allocations: 34.2 kB / 0.7902 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3866, allocations: 4.438 kB / 0.7902 GB, free: 9.559 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.000195/0.3868, allocations: 226.9 kB / 0.7904 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.3869, allocations: 123.5 kB / 0.7906 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.387, allocations: 117.3 kB / 0.7907 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.937e-05/0.3871, allocations: 180.2 kB / 0.7908 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-05/0.3871, allocations: 177.4 kB / 0.791 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.3872, allocations: 181.3 kB / 0.7912 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.3875, allocations: 449.6 kB / 0.7916 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/0.3876, allocations: 114.3 kB / 0.7917 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.3876, allocations: 106 kB / 0.7918 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.432e-05/0.3877, allocations: 181.3 kB / 0.792 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.3878, allocations: 185.4 kB / 0.7922 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-05/0.3879, allocations: 176.3 kB / 0.7923 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-05/0.388, allocations: 185.2 kB / 0.7925 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3881, allocations: 324.6 kB / 0.7928 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3882, allocations: 199.5 kB / 0.793 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.3883, allocations: 177.3 kB / 0.7932 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3885, allocations: 110.7 kB / 0.7933 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.3886, allocations: 185.4 kB / 0.7935 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3886, allocations: 102.3 kB / 0.7936 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002042/0.3888, allocations: 215.9 kB / 0.7938 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3888, allocations: 0 / 0.7938 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003401/0.3892, allocations: 63.25 kB / 0.7938 GB, free: 5.84 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.0006496/0.3898, allocations: 0.9292 MB / 0.7947 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.39, allocations: 105.4 kB / 0.7948 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.39, allocations: 1 kB / 0.7948 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.39, allocations: 0 / 0.7948 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3905, allocations: 458.6 kB / 0.7953 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.3929, allocations: 2.448 MB / 0.7977 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3932, allocations: 0.7439 MB / 0.7984 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.192e-05/0.3933, allocations: 2.281 kB / 0.7984 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.3933, allocations: 36.73 kB / 0.7984 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.3933, allocations: 0 / 0.7984 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.4176, allocations: 4.864 MB / 0.8032 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.147, allocations: 12.12 kB / 0.8032 GB, free: 15.32 MB / 0.5762 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)