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.001251/0.001251, allocations: 113.1 kB / 17.13 MB, free: 5.754 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.001271/0.001271, allocations: 192.6 kB / 20.08 MB, free: 2.848 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.375/1.375, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.8163/0.8163, allocations: 129.2 MB / 432.5 MB, free: 13.13 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.001893/0.001893, allocations: 67.89 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3982, allocations: 83.43 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002492/0.4007, allocations: 1.863 MB / 0.682 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.4038, allocations: 3.562 MB / 0.6855 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.4039, allocations: 1.406 kB / 0.6855 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.4046, allocations: 180 kB / 0.6856 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.4048, allocations: 64.14 kB / 0.6857 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.138e-05/0.4048, allocations: 28.31 kB / 0.6857 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.4052, allocations: 263.2 kB / 0.686 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.4053, allocations: 15.56 kB / 0.686 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.4054, allocations: 79.22 kB / 0.6861 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4055, allocations: 76.33 kB / 0.6861 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4055, allocations: 11.03 kB / 0.6862 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.4056, allocations: 23.64 kB / 0.6862 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.4057, allocations: 55.38 kB / 0.6862 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.4057, allocations: 88.78 kB / 0.6863 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.4059, allocations: 188.2 kB / 0.6865 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4059, allocations: 0 / 0.6865 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4059, allocations: 1.562 kB / 0.6865 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4059, allocations: 0 / 0.6865 GB, free: 0.9883 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.0007075/0.4066, allocations: 0.5278 MB / 0.687 GB, free: 500 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4067, allocations: 8.594 kB / 0.687 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.4067, allocations: 37.34 kB / 0.6871 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.4068, allocations: 22.7 kB / 0.6871 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.407, allocations: 254.1 kB / 0.6873 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.407, allocations: 5.406 kB / 0.6873 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4071, allocations: 6.812 kB / 0.6873 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.4074, allocations: 136.5 kB / 0.6875 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4074, allocations: 4 kB / 0.6875 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4074, allocations: 3.938 kB / 0.6875 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.4074, allocations: 11.56 kB / 0.6875 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.4078, allocations: 134.4 kB / 0.6876 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.4085, allocations: 445.7 kB / 0.688 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.4089, allocations: 154.2 kB / 0.6882 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.4091, allocations: 93.45 kB / 0.6883 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4092, allocations: 1.188 kB / 0.6883 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4092, allocations: 40.38 kB / 0.6883 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.4092, allocations: 3.938 kB / 0.6883 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0008448/0.41, allocations: 291.2 kB / 0.6886 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4101, allocations: 56.5 kB / 0.6886 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.4103, allocations: 238.6 kB / 0.6889 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4104, allocations: 26.8 kB / 0.6889 GB, free: 15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4105, allocations: 137.6 kB / 0.689 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.4105, allocations: 41.11 kB / 0.6891 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.4106, allocations: 39.38 kB / 0.6891 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4108, allocations: 328.9 kB / 0.6894 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.411, allocations: 70.09 kB / 0.6895 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.4112, allocations: 70.69 kB / 0.6896 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.4116, allocations: 158.6 kB / 0.6897 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4116, allocations: 3.938 kB / 0.6897 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005026/0.4121, allocations: 216.2 kB / 0.6899 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4121, allocations: 4.969 kB / 0.6899 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4121, allocations: 0 / 0.6899 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4121, allocations: 1.344 kB / 0.6899 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.4124, allocations: 31.69 kB / 0.69 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4124, allocations: 4.906 kB / 0.69 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4126, allocations: 16.08 kB / 0.69 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4126, allocations: 11.17 kB / 0.69 GB, free: 14.19 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.0001383/0.4127, allocations: 140.2 kB / 0.6901 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.4128, allocations: 22.05 kB / 0.6901 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.4128, allocations: 32.67 kB / 0.6902 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.4128, allocations: 1.125 kB / 0.6902 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4128, allocations: 5.062 kB / 0.6902 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4128, allocations: 3.984 kB / 0.6902 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.4132, allocations: 263.3 kB / 0.6904 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4132, allocations: 1.031 kB / 0.6904 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4134, allocations: 35.59 kB / 0.6905 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4134, allocations: 1.25 kB / 0.6905 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4134, allocations: 9.141 kB / 0.6905 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4134, allocations: 1.094 kB / 0.6905 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4134, allocations: 3.938 kB / 0.6905 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.414, allocations: 320.7 kB / 0.6908 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.4141, allocations: 111.4 kB / 0.6909 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.4141, allocations: 5.062 kB / 0.6909 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4143, allocations: 14.75 kB / 0.6909 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.4143, allocations: 16.33 kB / 0.6909 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4144, allocations: 3.406 kB / 0.6909 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001576/0.4145, allocations: 179 kB / 0.6911 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4145, allocations: 0 / 0.6911 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002634/0.4148, allocations: 41.22 kB / 0.6911 GB, free: 13.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.0009313/0.4157, allocations: 0.843 MB / 0.692 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.4162, allocations: 164.3 kB / 0.6921 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4162, allocations: 3.938 kB / 0.6921 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.4164, allocations: 88.77 kB / 0.6922 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4169, allocations: 47.42 kB / 0.6923 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.4201, allocations: 2.345 MB / 0.6945 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4205, allocations: 0.742 MB / 0.6953 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.4207, allocations: 47.17 kB / 0.6953 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.4208, allocations: 62.47 kB / 0.6954 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.4208, allocations: 1.75 kB / 0.6954 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.4475, allocations: 4.584 MB / 0.6999 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.551, allocations: 10.41 kB / 0.6999 GB, free: 7.465 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 11.73689080029726] Failed to read output from testmodel.py, exit status != 0: 8.618307214230299 8.631955548 8.223414429 Calling exit ...