Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001707/0.001707, allocations: 110.6 kB / 18.32 MB, free: 3.941 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.001887/0.001887, allocations: 189.9 kB / 21.5 MB, free: 0.7734 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.371/1.371, allocations: 225.6 MB / 250.1 MB, free: 3.145 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.8074/0.8074, allocations: 128.4 MB / 433.6 MB, free: 13.23 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.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 0.6004 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3736, allocations: 83.27 MB / 0.6817 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00287/0.3765, allocations: 2.18 MB / 0.6838 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004044/0.3805, allocations: 4.127 MB / 0.6879 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3807, allocations: 1.438 kB / 0.6879 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007546/0.3814, allocations: 196 kB / 0.688 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3816, allocations: 79.09 kB / 0.6881 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.3822, allocations: 287.6 kB / 0.6884 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.3828, allocations: 437.2 kB / 0.6888 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3829, allocations: 34.05 kB / 0.6888 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3831, allocations: 136.6 kB / 0.689 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3832, allocations: 159.1 kB / 0.6891 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.3833, allocations: 21 kB / 0.6891 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.3837, allocations: 330.6 kB / 0.6895 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.3838, allocations: 117.1 kB / 0.6896 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.384, allocations: 171.8 kB / 0.6897 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.3845, allocations: 0.5747 MB / 0.6903 GB, free: 96 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3845, allocations: 0 / 0.6903 GB, free: 96 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3845, allocations: 1.125 kB / 0.6903 GB, free: 96 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3845, allocations: 0 / 0.6903 GB, free: 96 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001455/0.386, allocations: 0.8076 MB / 0.6911 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.386, allocations: 9.75 kB / 0.6911 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.958e-05/0.3861, allocations: 45.95 kB / 0.6911 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/0.387, allocations: 177.9 kB / 0.6913 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.3878, allocations: 390.3 kB / 0.6917 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3879, allocations: 8.438 kB / 0.6917 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3879, allocations: 11.66 kB / 0.6917 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.3886, allocations: 251.3 kB / 0.6919 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3886, allocations: 0 / 0.6919 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3886, allocations: 5.031 kB / 0.6919 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3886, allocations: 6.125 kB / 0.692 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.3896, allocations: 335.5 kB / 0.6923 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.3911, allocations: 0.6827 MB / 0.6929 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.3917, allocations: 220.7 kB / 0.6932 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.3922, allocations: 168.6 kB / 0.6933 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.3923, allocations: 24.66 kB / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3923, allocations: 39.97 kB / 0.6934 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3923, allocations: 0 / 0.6934 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001757/0.3941, allocations: 0.5621 MB / 0.6939 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3941, allocations: 52.81 kB / 0.694 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.3946, allocations: 434.5 kB / 0.6944 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3947, allocations: 30.86 kB / 0.6944 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3948, allocations: 190.9 kB / 0.6946 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.3949, allocations: 45.42 kB / 0.6946 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.395, allocations: 57.17 kB / 0.6947 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3951, allocations: 348.2 kB / 0.695 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.3959, allocations: 291.6 kB / 0.6953 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.3966, allocations: 300.5 kB / 0.6956 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3977, allocations: 0.509 MB / 0.6961 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3977, allocations: 0 / 0.6961 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001549/0.3993, allocations: 0.72 MB / 0.6968 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.3994, allocations: 46.56 kB / 0.6968 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3994, allocations: 0 / 0.6968 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3994, allocations: 3.938 kB / 0.6968 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.3998, allocations: 67.89 kB / 0.6969 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3998, allocations: 0 / 0.6969 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.4003, allocations: 60.19 kB / 0.697 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.4003, allocations: 10.62 kB / 0.697 GB, free: 11.69 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002024/0.4005, allocations: 156.7 kB / 0.6971 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.4006, allocations: 40.94 kB / 0.6972 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.4019, allocations: 440.7 kB / 0.6976 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4019, allocations: 6.562 kB / 0.6976 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4019, allocations: 0 / 0.6976 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4019, allocations: 0 / 0.6976 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.4024, allocations: 370 kB / 0.6979 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4024, allocations: 0 / 0.6979 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.4028, allocations: 65.09 kB / 0.698 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.4028, allocations: 5.422 kB / 0.698 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.4028, allocations: 9.812 kB / 0.698 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.4028, allocations: 7.875 kB / 0.698 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4028, allocations: 1.344 kB / 0.698 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.404, allocations: 0.4927 MB / 0.6985 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.4042, allocations: 139.8 kB / 0.6986 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.4043, allocations: 13.31 kB / 0.6987 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.4046, allocations: 39.12 kB / 0.6987 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.4047, allocations: 14.86 kB / 0.6987 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.4047, allocations: 10.73 kB / 0.6987 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003408/0.405, allocations: 302.6 kB / 0.699 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.405, allocations: 0 / 0.699 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005696/0.4056, allocations: 131.1 kB / 0.6991 GB, free: 10.22 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.001885/0.4075, allocations: 1.116 MB / 0.7002 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.409, allocations: 0.6246 MB / 0.7008 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.409, allocations: 1.406 kB / 0.7008 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.4095, allocations: 180.5 kB / 0.701 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.4101, allocations: 61.3 kB / 0.7011 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.4182, allocations: 5.211 MB / 0.7062 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.4187, allocations: 0.8022 MB / 0.7069 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.419, allocations: 53.86 kB / 0.707 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.4192, allocations: 119.4 kB / 0.7071 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/0.4192, allocations: 0 / 0.7071 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.4535, allocations: 9.153 MB / 0.716 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/8.995, allocations: 8.203 kB / 0.716 GB, free: 10.96 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.18225442498806] Failed to read output from testmodel.py, exit status != 0: 9.069121948006796 9.095827616 8.70637153 Calling exit ...