Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_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.004496/0.004496, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001355/0.001355, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.216/2.216, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 63.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5913, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005976/0.5973, allocations: 5.017 MB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1503/0.7476, allocations: 150.7 MB / 1.318 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.7482, allocations: 15.94 kB / 1.318 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.7488, allocations: 194.1 kB / 1.318 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.7502, allocations: 0.5638 MB / 1.319 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.752, allocations: 0.8768 MB / 1.32 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.7532, allocations: 1.471 MB / 1.321 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00076/0.754, allocations: 0.6089 MB / 1.322 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.7545, allocations: 0.5099 MB / 1.322 GB, free: 3.102 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.7551, allocations: 0.5446 MB / 1.323 GB, free: 2.555 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.7553, allocations: 124 kB / 1.323 GB, free: 2.434 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.7561, allocations: 0.4996 MB / 1.324 GB, free: 1.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.7563, allocations: 311 kB / 1.324 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.7569, allocations: 0.5908 MB / 1.324 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.7585, allocations: 1.736 MB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7585, allocations: 4 kB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7585, allocations: 0 / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.7585, allocations: 0 / 1.326 GB, free: 15.29 MB / 1.061 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.002408/0.7609, allocations: 1.54 MB / 1.328 GB, free: 13.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.761, allocations: 8.922 kB / 1.328 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.7611, allocations: 143.8 kB / 1.328 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.762, allocations: 196 kB / 1.328 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7631, allocations: 0.8018 MB / 1.329 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.7631, allocations: 66 kB / 1.329 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.7633, allocations: 84 kB / 1.329 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.7648, allocations: 0.9769 MB / 1.33 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.7648, allocations: 0 / 1.33 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.7649, allocations: 43.98 kB / 1.33 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.7649, allocations: 20 kB / 1.33 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.7667, allocations: 1.155 MB / 1.331 GB, free: 10.12 MB / 1.061 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.7707, allocations: 2.9 MB / 1.334 GB, free: 7.105 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.7727, allocations: 0.9809 MB / 1.335 GB, free: 6.105 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.7733, allocations: 328.2 kB / 1.335 GB, free: 5.785 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.7733, allocations: 30.75 kB / 1.335 GB, free: 5.758 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.7742, allocations: 0.5354 MB / 1.336 GB, free: 5.203 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 1.973e-06/0.7742, allocations: 0 / 1.336 GB, free: 5.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003118/0.7773, allocations: 1.31 MB / 1.337 GB, free: 3.863 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.7775, allocations: 188.9 kB / 1.337 GB, free: 3.637 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.7782, allocations: 0.6528 MB / 1.338 GB, free: 2.973 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.7783, allocations: 45.7 kB / 1.338 GB, free: 2.922 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.7786, allocations: 413.2 kB / 1.338 GB, free: 2.512 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.7788, allocations: 301.4 kB / 1.339 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.7791, allocations: 162.6 kB / 1.339 GB, free: 2.051 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7792, allocations: 386.8 kB / 1.339 GB, free: 1.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.7798, allocations: 269.8 kB / 1.339 GB, free: 1.398 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.7804, allocations: 390.5 kB / 1.34 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7815, allocations: 0.6281 MB / 1.34 GB, free: 364 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7815, allocations: 0 / 1.34 GB, free: 364 kB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001893/0.7834, allocations: 0.8727 MB / 1.341 GB, free: 15.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7835, allocations: 8 kB / 1.341 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.7835, allocations: 0 / 1.341 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.784, allocations: 84.83 kB / 1.341 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.7847, allocations: 167.7 kB / 1.341 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.7866, allocations: 1.643 MB / 1.343 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.7873, allocations: 99.48 kB / 1.343 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.7873, allocations: 35.98 kB / 1.343 GB, free: 13.29 MB / 1.076 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.0003379/0.7877, allocations: 275.4 kB / 1.343 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.7878, allocations: 87.44 kB / 1.343 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.7903, allocations: 1.191 MB / 1.345 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.7903, allocations: 12 kB / 1.345 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7904, allocations: 0 / 1.345 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.7904, allocations: 11.97 kB / 1.345 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.7936, allocations: 2.107 MB / 1.347 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7936, allocations: 0 / 1.347 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.7942, allocations: 163.8 kB / 1.347 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.7946, allocations: 72.78 kB / 1.347 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.7947, allocations: 31.97 kB / 1.347 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.7965, allocations: 1.662 MB / 1.349 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.7965, allocations: 3.984 kB / 1.349 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.7985, allocations: 1.088 MB / 1.35 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.7989, allocations: 300 kB / 1.35 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.799, allocations: 24 kB / 1.35 GB, free: 6.012 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.7997, allocations: 66.73 kB / 1.35 GB, free: 5.949 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.7998, allocations: 88.81 kB / 1.35 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.7999, allocations: 47.97 kB / 1.35 GB, free: 5.816 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005284/0.8004, allocations: 471 kB / 1.351 GB, free: 5.363 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8004, allocations: 0 / 1.351 GB, free: 5.363 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000712/0.8012, allocations: 347.1 kB / 1.351 GB, free: 5.023 MB / 1.076 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.003929/0.8051, allocations: 2.17 MB / 1.353 GB, free: 2.992 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.8067, allocations: 0.8663 MB / 1.354 GB, free: 2.113 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8067, allocations: 3.938 kB / 1.354 GB, free: 2.109 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.8076, allocations: 0.5628 MB / 1.354 GB, free: 1.535 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.8088, allocations: 312.4 kB / 1.355 GB, free: 1.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/0.8184, allocations: 6.589 MB / 1.361 GB, free: 10.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.819, allocations: 1.048 MB / 1.362 GB, free: 9.43 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000679/0.8197, allocations: 275.1 kB / 1.362 GB, free: 9.156 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.8203, allocations: 411.3 kB / 1.363 GB, free: 8.754 MB / 1.092 GB Notification: Performance of SimCode: time 2.81e-07/0.8203, allocations: 4 kB / 1.363 GB, free: 8.75 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6339/1.454, allocations: 22.93 MB / 1.385 GB, free: 2.066 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.44/32.89, allocations: 13.5 kB / 1.385 GB, free: 2.055 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)