Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 115 kB / 19.7 MB, free: 2.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 216.1 kB / 23 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9321/0.9321, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 62.28 kB / 0.6412 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1693, allocations: 89.18 MB / 0.7283 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007482/0.1768, allocations: 4.867 MB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5186/0.6953, allocations: 154.1 MB / 0.8836 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.6962, allocations: 23.81 kB / 0.8836 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.6969, allocations: 194.2 kB / 0.8838 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.6989, allocations: 0.5573 MB / 0.8843 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.701, allocations: 0.8715 MB / 0.8852 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.703, allocations: 1.386 MB / 0.8866 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/0.7038, allocations: 409.8 kB / 0.8869 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/0.7047, allocations: 0.4984 MB / 0.8874 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.7055, allocations: 0.5017 MB / 0.8879 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.7057, allocations: 116 kB / 0.888 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.7069, allocations: 0.5118 MB / 0.8885 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003627/0.7072, allocations: 295.1 kB / 0.8888 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.708, allocations: 0.5519 MB / 0.8894 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.7104, allocations: 1.667 MB / 0.891 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7104, allocations: 0 / 0.891 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7104, allocations: 0 / 0.891 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.7104, allocations: 4 kB / 0.891 GB, free: 0.7344 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003094/0.7135, allocations: 1.407 MB / 0.8924 GB, free: 15.28 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7136, allocations: 8.031 kB / 0.8924 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.7138, allocations: 135.3 kB / 0.8925 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.7153, allocations: 229 kB / 0.8927 GB, free: 14.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.7168, allocations: 0.7113 MB / 0.8934 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.7169, allocations: 58 kB / 0.8935 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.717, allocations: 84 kB / 0.8935 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.7187, allocations: 0.8988 MB / 0.8944 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.7188, allocations: 4 kB / 0.8944 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.7189, allocations: 36 kB / 0.8945 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.7189, allocations: 24 kB / 0.8945 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.7207, allocations: 1.097 MB / 0.8956 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.7256, allocations: 2.669 MB / 0.8982 GB, free: 9.145 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.7271, allocations: 0.7475 MB / 0.8989 GB, free: 8.398 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.7277, allocations: 272.8 kB / 0.8991 GB, free: 8.129 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.723e-05/0.7278, allocations: 32.59 kB / 0.8992 GB, free: 8.098 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.7287, allocations: 0.4957 MB / 0.8997 GB, free: 7.586 MB / 0.67 GB Notification: Performance of pre-optimization done (n=79): time 2.705e-06/0.7287, allocations: 0 / 0.8997 GB, free: 7.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=79): time 0.003291/0.732, allocations: 1.107 MB / 0.9007 GB, free: 6.469 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.7321, allocations: 192.6 kB / 0.9009 GB, free: 6.238 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7332, allocations: 0.645 MB / 0.9016 GB, free: 5.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.457e-05/0.7332, allocations: 41.69 kB / 0.9016 GB, free: 5.543 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.7336, allocations: 401 kB / 0.902 GB, free: 5.145 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.7338, allocations: 277.7 kB / 0.9022 GB, free: 4.871 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.7341, allocations: 146.6 kB / 0.9024 GB, free: 4.723 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7343, allocations: 386.7 kB / 0.9028 GB, free: 4.336 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.7348, allocations: 241.9 kB / 0.903 GB, free: 4.098 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.7354, allocations: 358.6 kB / 0.9033 GB, free: 3.723 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.7365, allocations: 0.5682 MB / 0.9039 GB, free: 3.141 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.7365, allocations: 4 kB / 0.9039 GB, free: 3.137 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001972/0.7384, allocations: 0.8023 MB / 0.9047 GB, free: 2.324 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.7385, allocations: 4 kB / 0.9047 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7385, allocations: 0 / 0.9047 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/0.7391, allocations: 80.88 kB / 0.9047 GB, free: 2.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.7397, allocations: 147.8 kB / 0.9049 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.7419, allocations: 1.536 MB / 0.9064 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.7426, allocations: 84.92 kB / 0.9065 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.7427, allocations: 35.91 kB / 0.9065 GB, free: 332 kB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.7432, allocations: 265.7 kB / 0.9068 GB, free: 56 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.7434, allocations: 91.42 kB / 0.9068 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.7458, allocations: 1.055 MB / 0.9079 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7458, allocations: 11.94 kB / 0.9079 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7458, allocations: 4 kB / 0.9079 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.7458, allocations: 3.984 kB / 0.9079 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.7493, allocations: 1.903 MB / 0.9098 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7493, allocations: 0 / 0.9098 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.7499, allocations: 143.8 kB / 0.9099 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.7503, allocations: 68.8 kB / 0.91 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/0.7504, allocations: 27.97 kB / 0.91 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.7524, allocations: 1.551 MB / 0.9115 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7524, allocations: 3.938 kB / 0.9115 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.7545, allocations: 0.9867 MB / 0.9125 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.755, allocations: 199.1 kB / 0.9127 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.7552, allocations: 23.94 kB / 0.9127 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.7558, allocations: 66.28 kB / 0.9127 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.756, allocations: 72.86 kB / 0.9128 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.7561, allocations: 35.97 kB / 0.9128 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006906/0.7568, allocations: 475 kB / 0.9133 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7568, allocations: 0 / 0.9133 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009027/0.7577, allocations: 315.2 kB / 0.9136 GB, free: 8.844 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004244/0.7619, allocations: 2.044 MB / 0.9156 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.7637, allocations: 0.7572 MB / 0.9163 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7637, allocations: 7.938 kB / 0.9163 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7647, allocations: 0.4884 MB / 0.9168 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7661, allocations: 301.5 kB / 0.9171 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.7772, allocations: 6.227 MB / 0.9232 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.778, allocations: 1.012 MB / 0.9242 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008334/0.7788, allocations: 262.7 kB / 0.9244 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005926/0.7794, allocations: 387.3 kB / 0.9248 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of SimCode: time 9.12e-07/0.7794, allocations: 0 / 0.9248 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/0.8455, allocations: 22.23 MB / 0.9465 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.64, allocations: 6.875 kB / 0.9465 GB, free: 7.352 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.46958823991008] Failed to read output from testmodel.py, exit status != 0: 14.897287770872936 14.924330836 14.210433428 Calling exit ...