Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 110.6 kB / 18.32 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 186 kB / 21.5 MB, free: 0.8164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 250.1 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8023/0.8023, allocations: 128.4 MB / 433.6 MB, free: 13.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.91 kB / 0.6004 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3724, allocations: 83.26 MB / 0.6817 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003294/0.3757, allocations: 1.897 MB / 0.6835 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004229/0.3799, allocations: 3.641 MB / 0.6871 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.3801, allocations: 1.219 kB / 0.6871 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009951/0.3811, allocations: 185.4 kB / 0.6873 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3814, allocations: 82.25 kB / 0.6874 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.228e-05/0.3815, allocations: 31.83 kB / 0.6874 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.3821, allocations: 264.2 kB / 0.6876 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3822, allocations: 16.61 kB / 0.6877 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3823, allocations: 74.27 kB / 0.6877 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3825, allocations: 80.23 kB / 0.6878 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.3825, allocations: 8.406 kB / 0.6878 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3827, allocations: 26.89 kB / 0.6878 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.3827, allocations: 64.45 kB / 0.6879 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.3828, allocations: 81.86 kB / 0.688 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.3831, allocations: 198.7 kB / 0.6882 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3831, allocations: 4 kB / 0.6882 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3831, allocations: 0 / 0.6882 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.3831, allocations: 0 / 0.6882 GB, free: 1.664 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008985/0.384, allocations: 0.5256 MB / 0.6887 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3841, allocations: 10.75 kB / 0.6887 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.3841, allocations: 44.48 kB / 0.6887 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.3842, allocations: 23.42 kB / 0.6888 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3845, allocations: 258.3 kB / 0.689 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3845, allocations: 6 kB / 0.689 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3845, allocations: 3.938 kB / 0.689 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.3849, allocations: 147 kB / 0.6892 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3849, allocations: 3.938 kB / 0.6892 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3849, allocations: 1.094 kB / 0.6892 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.3849, allocations: 12.08 kB / 0.6892 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.3853, allocations: 144.3 kB / 0.6893 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.386, allocations: 463.1 kB / 0.6897 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.3864, allocations: 166.1 kB / 0.6899 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3866, allocations: 98.78 kB / 0.69 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3866, allocations: 6.125 kB / 0.69 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3867, allocations: 35.84 kB / 0.69 GB, free: 64 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3867, allocations: 0 / 0.69 GB, free: 64 kB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0009095/0.3876, allocations: 297.6 kB / 0.6903 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3876, allocations: 56.66 kB / 0.6904 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.3879, allocations: 243 kB / 0.6906 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3879, allocations: 29.69 kB / 0.6906 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.388, allocations: 134.6 kB / 0.6908 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.3881, allocations: 49.42 kB / 0.6908 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.3882, allocations: 30.73 kB / 0.6908 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3884, allocations: 333 kB / 0.6912 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.3886, allocations: 76.34 kB / 0.6912 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.3888, allocations: 76.81 kB / 0.6913 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.3893, allocations: 169.5 kB / 0.6915 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3893, allocations: 0 / 0.6915 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005802/0.3899, allocations: 223.4 kB / 0.6917 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3899, allocations: 5.719 kB / 0.6917 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3899, allocations: 0 / 0.6917 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3899, allocations: 5.094 kB / 0.6917 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.3902, allocations: 36.48 kB / 0.6917 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3902, allocations: 3.938 kB / 0.6917 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.3903, allocations: 16.95 kB / 0.6917 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3904, allocations: 6.25 kB / 0.6918 GB, free: 14.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001563/0.3905, allocations: 136 kB / 0.6919 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3906, allocations: 30.19 kB / 0.6919 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.3907, allocations: 28.69 kB / 0.6919 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3907, allocations: 1.531 kB / 0.6919 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3907, allocations: 5.344 kB / 0.6919 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3907, allocations: 3.984 kB / 0.6919 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.391, allocations: 278.2 kB / 0.6922 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.391, allocations: 0 / 0.6922 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3913, allocations: 32.03 kB / 0.6922 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.3913, allocations: 1.125 kB / 0.6922 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3914, allocations: 9.234 kB / 0.6923 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3914, allocations: 0 / 0.6923 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3914, allocations: 5.156 kB / 0.6923 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.392, allocations: 321 kB / 0.6926 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.3922, allocations: 119.3 kB / 0.6927 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3922, allocations: 4.938 kB / 0.6927 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3924, allocations: 11.98 kB / 0.6927 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3925, allocations: 16.73 kB / 0.6927 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3925, allocations: 2.094 kB / 0.6927 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000202/0.3927, allocations: 177.5 kB / 0.6929 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3927, allocations: 1.375 kB / 0.6929 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003082/0.393, allocations: 38.34 kB / 0.6929 GB, free: 13.84 MB / 0.5137 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 (13): * Single equations (assignments): 13 * 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.001074/0.3941, allocations: 0.8568 MB / 0.6938 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.3946, allocations: 175.1 kB / 0.6939 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3946, allocations: 0 / 0.6939 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.3949, allocations: 90.48 kB / 0.694 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.3954, allocations: 64.56 kB / 0.6941 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.3989, allocations: 2.418 MB / 0.6964 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.3992, allocations: 0.7434 MB / 0.6972 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000169/0.3994, allocations: 52.97 kB / 0.6972 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3995, allocations: 67.94 kB / 0.6973 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.3995, allocations: 0 / 0.6973 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.4273, allocations: 4.841 MB / 0.702 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.518, allocations: 10.81 kB / 0.702 GB, free: 7.883 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.643912981991889] Failed to read output from testmodel.py, exit status != 0: 8.58801495298394 8.612699643 8.225124674 Calling exit ...