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.001427/0.001427, allocations: 117.1 kB / 17.13 MB, free: 5.777 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.001361/0.001361, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.372/1.372, allocations: 225.6 MB / 248.5 MB, free: 3.648 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.8113/0.8113, allocations: 129.2 MB / 432.5 MB, free: 13.26 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.001857/0.001857, allocations: 67.89 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3966, allocations: 83.45 MB / 0.6802 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002866/0.3994, allocations: 2.171 MB / 0.6823 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.4037, allocations: 4.108 MB / 0.6863 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.4039, allocations: 5.094 kB / 0.6863 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.4046, allocations: 184.5 kB / 0.6865 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.4048, allocations: 78.38 kB / 0.6866 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.4055, allocations: 291.9 kB / 0.6868 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.4061, allocations: 436.3 kB / 0.6873 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4062, allocations: 36.64 kB / 0.6873 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.4064, allocations: 136.8 kB / 0.6874 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.4065, allocations: 163 kB / 0.6876 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.4066, allocations: 20.56 kB / 0.6876 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.4071, allocations: 334.9 kB / 0.6879 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.4072, allocations: 112.6 kB / 0.688 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.4074, allocations: 164.6 kB / 0.6882 GB, free: 15.81 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.4081, allocations: 0.571 MB / 0.6887 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4081, allocations: 4 kB / 0.6888 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4081, allocations: 0 / 0.6888 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.4082, allocations: 1.062 kB / 0.6888 GB, free: 15.43 MB / 0.5138 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.001574/0.4097, allocations: 0.8033 MB / 0.6895 GB, free: 14.74 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4098, allocations: 13.91 kB / 0.6895 GB, free: 14.74 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.4098, allocations: 50.7 kB / 0.6896 GB, free: 14.68 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009175/0.4107, allocations: 181.3 kB / 0.6898 GB, free: 14.6 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.4116, allocations: 382.7 kB / 0.6901 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4116, allocations: 7.625 kB / 0.6901 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.4116, allocations: 15.94 kB / 0.6902 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.4123, allocations: 249.1 kB / 0.6904 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4123, allocations: 0 / 0.6904 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4123, allocations: 1.281 kB / 0.6904 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4124, allocations: 10.09 kB / 0.6904 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000976/0.4133, allocations: 326.3 kB / 0.6907 GB, free: 13.97 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.4149, allocations: 0.692 MB / 0.6914 GB, free: 13.42 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.4154, allocations: 212.6 kB / 0.6916 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.4159, allocations: 172.6 kB / 0.6918 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.356e-05/0.416, allocations: 28.78 kB / 0.6918 GB, free: 13.22 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.416, allocations: 35.62 kB / 0.6918 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.416, allocations: 0 / 0.6918 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=13): time 0.001709/0.4177, allocations: 0.5702 MB / 0.6924 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4178, allocations: 52.94 kB / 0.6924 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.4183, allocations: 434.2 kB / 0.6928 GB, free: 12.58 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.4183, allocations: 27.02 kB / 0.6929 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4184, allocations: 191.6 kB / 0.6931 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.4185, allocations: 45.27 kB / 0.6931 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4186, allocations: 48.16 kB / 0.6931 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4188, allocations: 353.3 kB / 0.6935 GB, free: 11.96 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.4194, allocations: 294.9 kB / 0.6938 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.42, allocations: 296.4 kB / 0.694 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4211, allocations: 0.506 MB / 0.6945 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4211, allocations: 0 / 0.6945 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001483/0.4226, allocations: 0.7273 MB / 0.6952 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/0.4227, allocations: 45.53 kB / 0.6953 GB, free: 11.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4227, allocations: 0 / 0.6953 GB, free: 11.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.4227, allocations: 5.688 kB / 0.6953 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.4232, allocations: 61.89 kB / 0.6954 GB, free: 11.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4232, allocations: 1.188 kB / 0.6954 GB, free: 11.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.4236, allocations: 60.52 kB / 0.6954 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.4236, allocations: 9.703 kB / 0.6954 GB, free: 11.04 MB / 0.5138 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.000195/0.4238, allocations: 158.3 kB / 0.6956 GB, free: 10.89 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.4239, allocations: 39.56 kB / 0.6956 GB, free: 10.87 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.4251, allocations: 449.9 kB / 0.696 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4251, allocations: 5.906 kB / 0.696 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4251, allocations: 0 / 0.696 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4251, allocations: 1.844 kB / 0.696 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.4256, allocations: 365.2 kB / 0.6964 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4256, allocations: 3.938 kB / 0.6964 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.426, allocations: 64.17 kB / 0.6965 GB, free: 10.27 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.426, allocations: 5.312 kB / 0.6965 GB, free: 10.26 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.426, allocations: 5.641 kB / 0.6965 GB, free: 10.26 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4261, allocations: 5.719 kB / 0.6965 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4261, allocations: 0 / 0.6965 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4272, allocations: 0.4969 MB / 0.697 GB, free: 9.945 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.4274, allocations: 143.8 kB / 0.6971 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.4274, allocations: 1.375 kB / 0.6971 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.4278, allocations: 43.08 kB / 0.6971 GB, free: 9.777 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.4279, allocations: 17.47 kB / 0.6972 GB, free: 9.766 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.4279, allocations: 8.109 kB / 0.6972 GB, free: 9.762 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0003301/0.4282, allocations: 301.2 kB / 0.6975 GB, free: 9.582 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 5.312 kB / 0.6975 GB, free: 9.578 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0005266/0.4287, allocations: 130.1 kB / 0.6976 GB, free: 9.555 MB / 0.5138 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.001758/0.4305, allocations: 1.115 MB / 0.6987 GB, free: 8.684 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.4319, allocations: 0.6248 MB / 0.6993 GB, free: 8.383 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4319, allocations: 0 / 0.6993 GB, free: 8.383 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.4324, allocations: 184.3 kB / 0.6995 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.4329, allocations: 58.19 kB / 0.6995 GB, free: 8.266 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/0.4407, allocations: 5.207 MB / 0.7046 GB, free: 4.527 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4411, allocations: 0.8022 MB / 0.7054 GB, free: 3.699 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.4414, allocations: 53.92 kB / 0.7054 GB, free: 3.648 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.4416, allocations: 119.4 kB / 0.7055 GB, free: 3.531 MB / 0.5138 GB Notification: Performance of SimCode: time 4.61e-07/0.4416, allocations: 0 / 0.7055 GB, free: 3.531 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4753, allocations: 9.169 MB / 0.7145 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.442/8.917, allocations: 12.58 kB / 0.7145 GB, free: 10.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.139812467154115] Failed to read output from testmodel.py, exit status != 0: 8.986022346187383 8.999652383 8.588748784 Calling exit ...