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.0007508/0.0007508, allocations: 93.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007194/0.0007194, allocations: 181.9 kB / 16.92 MB, free: 6.934 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.186/1.186, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6135/0.6135, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 12 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004823/0.1219, allocations: 4.563 MB / 0.5645 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3419/0.4639, allocations: 146.8 MB / 0.7079 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/0.4645, allocations: 11.94 kB / 0.7079 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.465, allocations: 158.8 kB / 0.708 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4665, allocations: 491.3 kB / 0.7085 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4681, allocations: 0.7641 MB / 0.7093 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.4694, allocations: 1.37 MB / 0.7106 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/0.4702, allocations: 0.5707 MB / 0.7112 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005246/0.4707, allocations: 382.2 kB / 0.7115 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.4712, allocations: 429.7 kB / 0.7119 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.4713, allocations: 32 kB / 0.712 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.472, allocations: 395.6 kB / 0.7123 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.4722, allocations: 199 kB / 0.7125 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.4726, allocations: 0.4948 MB / 0.713 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.474, allocations: 1.573 MB / 0.7145 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.474, allocations: 0 / 0.7145 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4741, allocations: 0 / 0.7145 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.4741, allocations: 0 / 0.7145 GB, free: 8.18 MB / 0.5294 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.002263/0.4763, allocations: 1.287 MB / 0.7158 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4764, allocations: 12.03 kB / 0.7158 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.4766, allocations: 135.8 kB / 0.7159 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.4774, allocations: 203.3 kB / 0.7161 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.4784, allocations: 0.7663 MB / 0.7169 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.4785, allocations: 70 kB / 0.717 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.4786, allocations: 84 kB / 0.717 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.4801, allocations: 0.9808 MB / 0.718 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4801, allocations: 3.938 kB / 0.718 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.4802, allocations: 43.98 kB / 0.718 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4802, allocations: 20 kB / 0.7181 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.482, allocations: 1.167 MB / 0.7192 GB, free: 3.281 MB / 0.5294 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.003925/0.4859, allocations: 2.944 MB / 0.7221 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.4878, allocations: 0.9888 MB / 0.723 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.4884, allocations: 330.7 kB / 0.7234 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.4885, allocations: 32.69 kB / 0.7234 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/0.4893, allocations: 0.5373 MB / 0.7239 GB, free: 14.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 1.874e-06/0.4893, allocations: 4 kB / 0.7239 GB, free: 14.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.003021/0.4923, allocations: 1.321 MB / 0.7252 GB, free: 12.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.4924, allocations: 196.9 kB / 0.7254 GB, free: 12.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.4931, allocations: 0.6528 MB / 0.726 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.4932, allocations: 41.7 kB / 0.7261 GB, free: 12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.4935, allocations: 408.5 kB / 0.7265 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.4937, allocations: 279.9 kB / 0.7267 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.4938, allocations: 73.67 kB / 0.7268 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4939, allocations: 386.8 kB / 0.7272 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.4944, allocations: 265.9 kB / 0.7274 GB, free: 10.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.495, allocations: 394.5 kB / 0.7278 GB, free: 10.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4961, allocations: 0.6359 MB / 0.7284 GB, free: 9.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4961, allocations: 0 / 0.7284 GB, free: 9.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001799/0.4979, allocations: 0.8798 MB / 0.7293 GB, free: 8.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.498, allocations: 12.09 kB / 0.7293 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.498, allocations: 0 / 0.7293 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/0.4985, allocations: 80.78 kB / 0.7294 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.4992, allocations: 177.4 kB / 0.7295 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.501, allocations: 1.518 MB / 0.731 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/0.5017, allocations: 110.5 kB / 0.7311 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.5017, allocations: 47.91 kB / 0.7312 GB, free: 6.566 MB / 0.545 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.000342/0.5021, allocations: 275.5 kB / 0.7314 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5022, allocations: 86.88 kB / 0.7315 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.5047, allocations: 1.204 MB / 0.7327 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5047, allocations: 15.94 kB / 0.7327 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5047, allocations: 0 / 0.7327 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5047, allocations: 3.984 kB / 0.7327 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.5078, allocations: 2.106 MB / 0.7348 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5078, allocations: 0 / 0.7348 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.5084, allocations: 179.7 kB / 0.7349 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/0.5089, allocations: 88.77 kB / 0.735 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.509, allocations: 23.98 kB / 0.735 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.5105, allocations: 1.54 MB / 0.7365 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5106, allocations: 4.031 kB / 0.7365 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.5125, allocations: 1.105 MB / 0.7376 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.5128, allocations: 307.5 kB / 0.7379 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.5129, allocations: 16 kB / 0.7379 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.5137, allocations: 91.92 kB / 0.738 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5138, allocations: 80.88 kB / 0.7381 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.5139, allocations: 39.97 kB / 0.7381 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005085/0.5144, allocations: 479 kB / 0.7386 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5144, allocations: 4 kB / 0.7386 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007293/0.5152, allocations: 339.2 kB / 0.7389 GB, free: 14.37 MB / 0.5606 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.003279/0.5184, allocations: 2.178 MB / 0.741 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.52, allocations: 0.8743 MB / 0.7419 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.52, allocations: 0 / 0.7419 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.5209, allocations: 0.5626 MB / 0.7425 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5221, allocations: 278.2 kB / 0.7427 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.5327, allocations: 7.27 MB / 0.7498 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.5333, allocations: 1.048 MB / 0.7508 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007761/0.534, allocations: 279.1 kB / 0.7511 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.5346, allocations: 411.3 kB / 0.7515 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5346, allocations: 0 / 0.7515 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7707/1.305, allocations: 21.51 MB / 0.7725 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.306, allocations: 310.6 kB / 0.7728 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/3.481, allocations: 0 / 0.7728 GB, free: 11.97 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)