Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 102.1 kB / 16.27 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 191.5 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6929/0.6929, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005165/0.2897, allocations: 4.989 MB / 0.5722 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1357/0.4254, allocations: 150.7 MB / 0.7194 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.4264, allocations: 15.94 kB / 0.7194 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000672/0.4271, allocations: 206.1 kB / 0.7196 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.429, allocations: 0.5687 MB / 0.7201 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.4311, allocations: 0.879 MB / 0.721 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.4326, allocations: 1.456 MB / 0.7224 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.4335, allocations: 0.5946 MB / 0.723 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.4342, allocations: 0.5099 MB / 0.7235 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.4348, allocations: 0.5368 MB / 0.724 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.435, allocations: 127.9 kB / 0.7241 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008219/0.4358, allocations: 487.6 kB / 0.7246 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.4361, allocations: 315 kB / 0.7249 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.4367, allocations: 0.5908 MB / 0.7255 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.4383, allocations: 1.671 MB / 0.7271 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4383, allocations: 0 / 0.7271 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4383, allocations: 4 kB / 0.7271 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.4384, allocations: 3.938 kB / 0.7271 GB, free: 6.594 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002553/0.4409, allocations: 1.506 MB / 0.7286 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.441, allocations: 16.62 kB / 0.7286 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.4411, allocations: 147.7 kB / 0.7287 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.442, allocations: 191.3 kB / 0.7289 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.443, allocations: 0.7622 MB / 0.7297 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.4431, allocations: 70 kB / 0.7297 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.4432, allocations: 87.98 kB / 0.7298 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.4447, allocations: 0.973 MB / 0.7308 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4448, allocations: 0 / 0.7308 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.4449, allocations: 36 kB / 0.7308 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.4449, allocations: 24 kB / 0.7308 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.4467, allocations: 1.163 MB / 0.732 GB, free: 1.484 MB / 0.5606 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.003979/0.4507, allocations: 2.916 MB / 0.7348 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.4527, allocations: 0.9887 MB / 0.7358 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.4533, allocations: 322.7 kB / 0.7361 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.4534, allocations: 38.66 kB / 0.7361 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000925/0.4543, allocations: 0.5354 MB / 0.7366 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 1.924e-06/0.4543, allocations: 0 / 0.7366 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003157/0.4575, allocations: 1.294 MB / 0.7379 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.4576, allocations: 196.9 kB / 0.7381 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.4584, allocations: 0.6528 MB / 0.7387 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.4584, allocations: 41.7 kB / 0.7388 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.4587, allocations: 404.5 kB / 0.7392 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4589, allocations: 283.9 kB / 0.7394 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.4591, allocations: 166.5 kB / 0.7396 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4593, allocations: 390.8 kB / 0.74 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.4598, allocations: 273.8 kB / 0.7402 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.4605, allocations: 386.5 kB / 0.7406 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4616, allocations: 0.6281 MB / 0.7412 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4616, allocations: 0 / 0.7412 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001943/0.4636, allocations: 0.872 MB / 0.742 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4636, allocations: 8.031 kB / 0.7421 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4636, allocations: 8 kB / 0.7421 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.4642, allocations: 84.77 kB / 0.7421 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.4648, allocations: 159.8 kB / 0.7423 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.4667, allocations: 1.635 MB / 0.7439 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.4674, allocations: 95.88 kB / 0.744 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.4675, allocations: 35.97 kB / 0.744 GB, free: 4.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003479/0.4679, allocations: 271.5 kB / 0.7443 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.468, allocations: 90.88 kB / 0.7444 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.4705, allocations: 1.199 MB / 0.7455 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4706, allocations: 12 kB / 0.7455 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.4706, allocations: 4 kB / 0.7456 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.4706, allocations: 3.984 kB / 0.7456 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.4738, allocations: 2.105 MB / 0.7476 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4738, allocations: 0 / 0.7476 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.4745, allocations: 167.7 kB / 0.7478 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.4749, allocations: 76.78 kB / 0.7478 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.475, allocations: 23.98 kB / 0.7479 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2114/0.6864, allocations: 1.656 MB / 0.7495 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6864, allocations: 1.109 kB / 0.7495 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.6889, allocations: 1.096 MB / 0.7506 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.6893, allocations: 290.4 kB / 0.7508 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.6895, allocations: 23.94 kB / 0.7509 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.6902, allocations: 67.19 kB / 0.7509 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.6904, allocations: 85.42 kB / 0.751 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.6905, allocations: 42.94 kB / 0.751 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006376/0.6912, allocations: 475.8 kB / 0.7515 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6912, allocations: 0 / 0.7515 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009452/0.6921, allocations: 349.8 kB / 0.7518 GB, free: 169.3 MB / 0.5762 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 (106): * Single equations (assignments): 99 * 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.003434/0.6956, allocations: 2.152 MB / 0.7539 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002704/0.6983, allocations: 1.101 MB / 0.755 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6983, allocations: 1.562 kB / 0.755 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6994, allocations: 0.567 MB / 0.7556 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.7006, allocations: 305.7 kB / 0.7559 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7106, allocations: 6.803 MB / 0.7625 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.7112, allocations: 1.048 MB / 0.7635 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008926/0.7121, allocations: 284.9 kB / 0.7638 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.7126, allocations: 405.9 kB / 0.7642 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.7126, allocations: 2.469 kB / 0.7642 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.7547, allocations: 22.67 MB / 0.7863 GB, free: 148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.13, allocations: 11.95 kB / 0.7863 GB, free: 148 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)