Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001649/0.001649, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001831/0.001831, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9286, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00618/0.9348, allocations: 5.005 MB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1975/1.132, allocations: 151.2 MB / 1.424 GB, free: 3.723 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/1.134, allocations: 20 kB / 1.424 GB, free: 3.715 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/1.135, allocations: 197.8 kB / 1.424 GB, free: 3.539 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/1.138, allocations: 0.5804 MB / 1.425 GB, free: 3.102 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/1.141, allocations: 0.8555 MB / 1.426 GB, free: 2.449 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002186/1.143, allocations: 1.437 MB / 1.427 GB, free: 1.555 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/1.144, allocations: 425.4 kB / 1.427 GB, free: 1.242 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/1.145, allocations: 0.505 MB / 1.428 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000887/1.146, allocations: 0.5233 MB / 1.428 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/1.146, allocations: 118.6 kB / 1.429 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/1.147, allocations: 486.8 kB / 1.429 GB, free: 396 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/1.148, allocations: 307.3 kB / 1.429 GB, free: 148 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007378/1.148, allocations: 0.5763 MB / 1.43 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/1.151, allocations: 1.681 MB / 1.432 GB, free: 14.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.151, allocations: 1.188 kB / 1.432 GB, free: 14.5 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/1.151, allocations: 0 / 1.432 GB, free: 14.5 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.86e-05/1.151, allocations: 0 / 1.432 GB, free: 14.5 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003395/1.155, allocations: 1.503 MB / 1.433 GB, free: 13.32 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.155, allocations: 8.719 kB / 1.433 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/1.155, allocations: 145.7 kB / 1.433 GB, free: 13.2 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.156, allocations: 193.3 kB / 1.433 GB, free: 13.1 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.157, allocations: 0.7852 MB / 1.434 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/1.157, allocations: 65.5 kB / 1.434 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/1.158, allocations: 87.67 kB / 1.434 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/1.159, allocations: 0.9441 MB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.159, allocations: 3.938 kB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/1.159, allocations: 41.62 kB / 1.435 GB, free: 11.75 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/1.159, allocations: 21.88 kB / 1.435 GB, free: 11.75 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/1.161, allocations: 1.124 MB / 1.436 GB, free: 11.22 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/1.166, allocations: 2.746 MB / 1.439 GB, free: 8.906 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/1.168, allocations: 0.8564 MB / 1.44 GB, free: 8.023 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/1.169, allocations: 294.6 kB / 1.44 GB, free: 7.727 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/1.169, allocations: 36.61 kB / 1.44 GB, free: 7.691 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009534/1.17, allocations: 0.5177 MB / 1.441 GB, free: 7.16 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.675e-06/1.17, allocations: 0 / 1.441 GB, free: 7.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003487/1.173, allocations: 1.259 MB / 1.442 GB, free: 5.875 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.173, allocations: 196.8 kB / 1.442 GB, free: 5.641 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/1.174, allocations: 0.6489 MB / 1.443 GB, free: 4.98 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.174, allocations: 41.7 kB / 1.443 GB, free: 4.934 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/1.175, allocations: 413 kB / 1.443 GB, free: 4.523 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/1.175, allocations: 281.6 kB / 1.443 GB, free: 4.246 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/1.175, allocations: 158.6 kB / 1.444 GB, free: 4.086 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002109/1.175, allocations: 386.8 kB / 1.444 GB, free: 3.699 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/1.176, allocations: 257.9 kB / 1.444 GB, free: 3.445 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/1.177, allocations: 375.4 kB / 1.445 GB, free: 3.047 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.178, allocations: 0.6172 MB / 1.445 GB, free: 2.418 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.178, allocations: 0 / 1.445 GB, free: 2.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002095/1.18, allocations: 0.8374 MB / 1.446 GB, free: 1.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.18, allocations: 7.938 kB / 1.446 GB, free: 1.562 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.18, allocations: 7.984 kB / 1.446 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/1.181, allocations: 84.84 kB / 1.446 GB, free: 1.469 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/1.181, allocations: 159.8 kB / 1.446 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.184, allocations: 1.63 MB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/1.185, allocations: 102.3 kB / 1.448 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/1.185, allocations: 35.92 kB / 1.448 GB, free: 15.4 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005438/1.185, allocations: 266.1 kB / 1.448 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/1.185, allocations: 95.39 kB / 1.448 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/1.188, allocations: 1.132 MB / 1.449 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.188, allocations: 16 kB / 1.449 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.188, allocations: 3.984 kB / 1.449 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.188, allocations: 3.984 kB / 1.449 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/1.192, allocations: 2.033 MB / 1.451 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.192, allocations: 0 / 1.451 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/1.193, allocations: 151.8 kB / 1.452 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/1.193, allocations: 72.78 kB / 1.452 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/1.193, allocations: 27.97 kB / 1.452 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/1.195, allocations: 1.662 MB / 1.453 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.195, allocations: 0 / 1.453 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/1.198, allocations: 1.061 MB / 1.454 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/1.198, allocations: 288.1 kB / 1.455 GB, free: 8.336 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.198, allocations: 20 kB / 1.455 GB, free: 8.316 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/1.199, allocations: 75.86 kB / 1.455 GB, free: 8.242 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.199, allocations: 76.83 kB / 1.455 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/1.199, allocations: 39.97 kB / 1.455 GB, free: 8.129 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00068/1.2, allocations: 467 kB / 1.455 GB, free: 7.68 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.2, allocations: 0 / 1.455 GB, free: 7.68 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001035/1.201, allocations: 339.1 kB / 1.456 GB, free: 7.348 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004429/1.205, allocations: 2.102 MB / 1.458 GB, free: 5.406 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.207, allocations: 0.8116 MB / 1.458 GB, free: 4.582 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.207, allocations: 4.25 kB / 1.458 GB, free: 4.578 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.208, allocations: 0.504 MB / 1.459 GB, free: 4.059 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.21, allocations: 315.4 kB / 1.459 GB, free: 3.773 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.221, allocations: 6.442 MB / 1.465 GB, free: 13.17 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/1.222, allocations: 1.032 MB / 1.466 GB, free: 12.11 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009403/1.223, allocations: 270.9 kB / 1.467 GB, free: 11.84 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006166/1.224, allocations: 403.2 kB / 1.467 GB, free: 11.45 MB / 1.154 GB Notification: Performance of SimCode: time 7.31e-07/1.224, allocations: 4 kB / 1.467 GB, free: 11.44 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/1.287, allocations: 22.43 MB / 1.489 GB, free: 5.242 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.34, allocations: 2.5 kB / 1.489 GB, free: 5.242 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.301160170987714] Failed to read output from testmodel.py, exit status != 0: 14.53977186200791 14.568129134 13.411338109 Calling exit ...