Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001382/0.001382, allocations: 109.9 kB / 18.27 MB, free: 4.02 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.001392/0.001392, allocations: 189.9 kB / 21.43 MB, free: 0.8672 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.262/1.262, allocations: 225.6 MB / 250.1 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] 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.7525/0.7525, allocations: 128.4 MB / 433.5 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.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 67.83 kB / 0.6003 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3306, allocations: 83.25 MB / 0.6816 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002424/0.3331, allocations: 1.875 MB / 0.6834 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.336, allocations: 3.581 MB / 0.6869 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.3361, allocations: 1.188 kB / 0.6869 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.3366, allocations: 171.2 kB / 0.687 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.3368, allocations: 77.19 kB / 0.6871 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.993e-05/0.3368, allocations: 23.78 kB / 0.6871 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3372, allocations: 264.4 kB / 0.6874 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.3372, allocations: 21.16 kB / 0.6874 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.3373, allocations: 77.03 kB / 0.6875 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3374, allocations: 78.98 kB / 0.6876 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3374, allocations: 7.062 kB / 0.6876 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.3375, allocations: 23.42 kB / 0.6876 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.3376, allocations: 55.5 kB / 0.6876 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.3376, allocations: 89.16 kB / 0.6877 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3378, allocations: 187.7 kB / 0.6879 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3378, allocations: 0 / 0.6879 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3378, allocations: 5.125 kB / 0.6879 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.3378, allocations: 0 / 0.6879 GB, free: 1.684 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.0006363/0.3384, allocations: 0.52 MB / 0.6884 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.3385, allocations: 13.97 kB / 0.6884 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.3385, allocations: 37.31 kB / 0.6885 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3385, allocations: 26.19 kB / 0.6885 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3388, allocations: 253.6 kB / 0.6887 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.3388, allocations: 9.344 kB / 0.6887 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3388, allocations: 11.59 kB / 0.6888 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.3391, allocations: 129.9 kB / 0.6889 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3391, allocations: 0 / 0.6889 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3391, allocations: 4 kB / 0.6889 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.3391, allocations: 8.875 kB / 0.6889 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.3395, allocations: 136.4 kB / 0.689 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.34, allocations: 446.7 kB / 0.6895 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3403, allocations: 157.7 kB / 0.6896 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.3406, allocations: 89.98 kB / 0.6897 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3406, allocations: 5.062 kB / 0.6897 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.004e-05/0.3406, allocations: 39.72 kB / 0.6897 GB, free: 128 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.3406, allocations: 0 / 0.6897 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0007403/0.3413, allocations: 283.7 kB / 0.69 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3414, allocations: 60.88 kB / 0.6901 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3416, allocations: 238.3 kB / 0.6903 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3416, allocations: 30.8 kB / 0.6903 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.3417, allocations: 129.6 kB / 0.6904 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3417, allocations: 45.42 kB / 0.6905 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3418, allocations: 27.95 kB / 0.6905 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3419, allocations: 335.6 kB / 0.6908 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3421, allocations: 70.84 kB / 0.6909 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.3423, allocations: 70.69 kB / 0.691 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.3427, allocations: 162.3 kB / 0.6911 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3427, allocations: 4 kB / 0.6911 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004976/0.3432, allocations: 214.8 kB / 0.6913 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3433, allocations: 7.875 kB / 0.6913 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3433, allocations: 0 / 0.6913 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3433, allocations: 5.125 kB / 0.6913 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.3435, allocations: 32.34 kB / 0.6914 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3435, allocations: 7.875 kB / 0.6914 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3437, allocations: 24.31 kB / 0.6914 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3437, allocations: 7.797 kB / 0.6914 GB, free: 14.88 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.0001077/0.3438, allocations: 134.3 kB / 0.6915 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.3438, allocations: 22.64 kB / 0.6916 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.3439, allocations: 32.67 kB / 0.6916 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3439, allocations: 1.094 kB / 0.6916 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3439, allocations: 3.938 kB / 0.6916 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3439, allocations: 4.75 kB / 0.6916 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3442, allocations: 263.9 kB / 0.6919 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3442, allocations: 0 / 0.6919 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3444, allocations: 32.53 kB / 0.6919 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3444, allocations: 0 / 0.6919 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3444, allocations: 10.23 kB / 0.6919 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3444, allocations: 7.938 kB / 0.6919 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3444, allocations: 5.031 kB / 0.6919 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.3449, allocations: 308.2 kB / 0.6922 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.345, allocations: 111.5 kB / 0.6923 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.345, allocations: 5.156 kB / 0.6923 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3452, allocations: 23.56 kB / 0.6923 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.3453, allocations: 12.77 kB / 0.6923 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3453, allocations: 2.375 kB / 0.6923 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001413/0.3454, allocations: 174.9 kB / 0.6925 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 1.125 kB / 0.6925 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002479/0.3457, allocations: 36.62 kB / 0.6925 GB, free: 13.93 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.0008274/0.3465, allocations: 0.8412 MB / 0.6934 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.347, allocations: 170.7 kB / 0.6935 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.347, allocations: 1.062 kB / 0.6935 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.3472, allocations: 87.08 kB / 0.6936 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3476, allocations: 57.92 kB / 0.6937 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.3505, allocations: 2.341 MB / 0.696 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3508, allocations: 0.7428 MB / 0.6967 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.351, allocations: 44.02 kB / 0.6967 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.3511, allocations: 58.16 kB / 0.6968 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.3511, allocations: 4 kB / 0.6968 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.3772, allocations: 4.541 MB / 0.7012 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.643, allocations: 3.875 kB / 0.7012 GB, free: 8.195 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_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_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.627065512999252]