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.001157/0.001157, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008488/0.0008488, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8825/0.8825, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.5529/0.5529, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 4 kB / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.415e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004271/0.004285, allocations: 4.346 MB / 0.5584 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.385/0.3893, allocations: 132.7 MB / 0.688 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007016/0.39, allocations: 20.94 kB / 0.688 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.3905, allocations: 205.8 kB / 0.6882 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.3917, allocations: 0.5695 MB / 0.6888 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3928, allocations: 0.8677 MB / 0.6896 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007565/0.3936, allocations: 1.451 MB / 0.6911 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.394, allocations: 393 kB / 0.6914 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.3945, allocations: 0.7345 MB / 0.6921 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.3948, allocations: 408.8 kB / 0.6925 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.706e-05/0.3949, allocations: 121.7 kB / 0.6927 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.3954, allocations: 497.1 kB / 0.6931 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.3956, allocations: 319.5 kB / 0.6934 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.3958, allocations: 385.6 kB / 0.6938 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.397, allocations: 1.788 MB / 0.6955 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.397, allocations: 0 / 0.6955 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.032e-06/0.397, allocations: 5.203 kB / 0.6956 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.397, allocations: 3 kB / 0.6956 GB, free: 41.22 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001396/0.3984, allocations: 1.417 MB / 0.6969 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3984, allocations: 11.22 kB / 0.6969 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.3985, allocations: 136 kB / 0.6971 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.3993, allocations: 229.7 kB / 0.6973 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.4001, allocations: 0.716 MB / 0.698 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.4001, allocations: 65.62 kB / 0.6981 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.4002, allocations: 94.73 kB / 0.6982 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.4011, allocations: 1.177 MB / 0.6993 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4011, allocations: 0 / 0.6993 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.4012, allocations: 39.27 kB / 0.6993 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4012, allocations: 22.44 kB / 0.6994 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.4021, allocations: 1.054 MB / 0.7004 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.4043, allocations: 2.321 MB / 0.7027 GB, free: 38.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.4053, allocations: 0.789 MB / 0.7034 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.4056, allocations: 295.9 kB / 0.7037 GB, free: 38.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.4056, allocations: 29.36 kB / 0.7037 GB, free: 38.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/0.4061, allocations: 0.6038 MB / 0.7043 GB, free: 38.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=87): time 1.863e-06/0.4061, allocations: 4.281 kB / 0.7043 GB, free: 38.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.001633/0.4077, allocations: 1.164 MB / 0.7055 GB, free: 38.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.4078, allocations: 205.5 kB / 0.7057 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.4082, allocations: 0.6483 MB / 0.7063 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.4083, allocations: 47.69 kB / 0.7063 GB, free: 38.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4084, allocations: 403 kB / 0.7067 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4085, allocations: 288.8 kB / 0.707 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4086, allocations: 160.3 kB / 0.7072 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.4087, allocations: 389 kB / 0.7075 GB, free: 37.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.409, allocations: 268.9 kB / 0.7078 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.4094, allocations: 0.5019 MB / 0.7083 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.41, allocations: 0.6158 MB / 0.7089 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.41, allocations: 3.188 kB / 0.7089 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001049/0.4111, allocations: 0.8731 MB / 0.7097 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4111, allocations: 9.469 kB / 0.7097 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4111, allocations: 3.375 kB / 0.7097 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.4114, allocations: 80.95 kB / 0.7098 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.4117, allocations: 156.7 kB / 0.71 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/0.4127, allocations: 1.519 MB / 0.7114 GB, free: 35.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.413, allocations: 97.92 kB / 0.7115 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.413, allocations: 32.8 kB / 0.7116 GB, free: 35.74 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (98): * Single equations (assignments): 97 * 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.000224/0.4132, allocations: 276.8 kB / 0.7118 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.4133, allocations: 87.91 kB / 0.7119 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.4146, allocations: 1.089 MB / 0.713 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4146, allocations: 10.5 kB / 0.713 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.4146, allocations: 3.234 kB / 0.713 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4146, allocations: 4.25 kB / 0.713 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.4165, allocations: 1.993 MB / 0.7149 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4165, allocations: 0 / 0.7149 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.4168, allocations: 146.3 kB / 0.7151 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.417, allocations: 78.25 kB / 0.7152 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.417, allocations: 27.89 kB / 0.7152 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000838/0.4178, allocations: 1.549 MB / 0.7167 GB, free: 33.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4178, allocations: 0 / 0.7167 GB, free: 33.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4189, allocations: 1.031 MB / 0.7177 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.4191, allocations: 199.1 kB / 0.7179 GB, free: 33.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.4192, allocations: 30.56 kB / 0.7179 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.4195, allocations: 68.48 kB / 0.718 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.4196, allocations: 74.45 kB / 0.7181 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.4196, allocations: 37.83 kB / 0.7181 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003299/0.4199, allocations: 471.9 kB / 0.7186 GB, free: 33.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4199, allocations: 0 / 0.7186 GB, free: 33.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005946/0.4205, allocations: 325.4 kB / 0.7189 GB, free: 33.33 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002448/0.423, allocations: 2.12 MB / 0.7209 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009757/0.424, allocations: 0.8146 MB / 0.7217 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.424, allocations: 3.938 kB / 0.7217 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.4245, allocations: 0.5017 MB / 0.7222 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.4252, allocations: 302.5 kB / 0.7225 GB, free: 32.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.4315, allocations: 6.477 MB / 0.7288 GB, free: 30.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4318, allocations: 439.7 kB / 0.7293 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000484/0.4323, allocations: 268.9 kB / 0.7295 GB, free: 30.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.4327, allocations: 386.3 kB / 0.7299 GB, free: 30.03 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4327, allocations: 0 / 0.7299 GB, free: 30.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.4678, allocations: 23.94 MB / 0.7533 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.086, allocations: 3.188 kB / 0.7533 GB, free: 26.82 MB / 0.6355 GB " [Timeout remaining time 651] (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: 11.642771197482944] Failed to read output from testmodel.py, exit status != 0: 9.248126133345068 9.258274735 8.859786959000001 Calling exit ...