Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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 11.1.0-maint.11.x/package.mo", uses=false) 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.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.006841/0.006841, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001785/0.001785, allocations: 198.9 kB / 16.67 MB, free: 5.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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.457/2.457, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 67.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6056, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006195/0.6118, allocations: 4.788 MB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.7691, allocations: 150.6 MB / 1.372 GB, free: 6.082 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.7698, allocations: 15.94 kB / 1.372 GB, free: 6.066 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.7704, allocations: 182.2 kB / 1.372 GB, free: 5.887 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.7721, allocations: 0.5468 MB / 1.373 GB, free: 5.34 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.7739, allocations: 0.822 MB / 1.373 GB, free: 4.523 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.7755, allocations: 1.374 MB / 1.375 GB, free: 3.145 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/0.7764, allocations: 0.574 MB / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.777, allocations: 474.4 kB / 1.376 GB, free: 2.082 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006951/0.7777, allocations: 0.5017 MB / 1.376 GB, free: 1.578 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.7779, allocations: 112 kB / 1.376 GB, free: 1.469 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000852/0.7788, allocations: 475.6 kB / 1.377 GB, free: 1.004 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.7791, allocations: 295.1 kB / 1.377 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.7797, allocations: 0.5441 MB / 1.378 GB, free: 172 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.7816, allocations: 1.624 MB / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.7816, allocations: 0 / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of FrontEnd: time 5.621e-06/0.7816, allocations: 4 kB / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.7816, allocations: 3.938 kB / 1.379 GB, free: 14.53 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002515/0.7841, allocations: 1.44 MB / 1.381 GB, free: 13.04 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.7842, allocations: 8.625 kB / 1.381 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.7843, allocations: 139.2 kB / 1.381 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.7852, allocations: 196.1 kB / 1.381 GB, free: 12.69 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.7864, allocations: 0.7621 MB / 1.382 GB, free: 11.88 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.7865, allocations: 62 kB / 1.382 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.7866, allocations: 76 kB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7881, allocations: 0.9105 MB / 1.383 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7881, allocations: 0 / 1.383 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.7882, allocations: 32 kB / 1.383 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.7883, allocations: 20 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.7901, allocations: 1.097 MB / 1.384 GB, free: 9.648 MB / 1.107 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.003917/0.794, allocations: 2.666 MB / 1.386 GB, free: 6.863 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.7955, allocations: 0.8639 MB / 1.387 GB, free: 5.98 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.7961, allocations: 299.4 kB / 1.388 GB, free: 5.68 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.539e-05/0.7962, allocations: 32.53 kB / 1.388 GB, free: 5.648 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.797, allocations: 496.7 kB / 1.388 GB, free: 5.145 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 1.934e-06/0.7971, allocations: 0 / 1.388 GB, free: 5.145 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003088/0.8001, allocations: 1.19 MB / 1.389 GB, free: 3.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8003, allocations: 188.6 kB / 1.389 GB, free: 3.703 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.801, allocations: 0.6175 MB / 1.39 GB, free: 3.082 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.12e-05/0.8011, allocations: 45.69 kB / 1.39 GB, free: 3.031 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.8014, allocations: 393.1 kB / 1.39 GB, free: 2.641 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.8016, allocations: 265.7 kB / 1.391 GB, free: 2.379 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.8019, allocations: 146.6 kB / 1.391 GB, free: 2.23 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.8021, allocations: 394.7 kB / 1.391 GB, free: 1.836 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.8026, allocations: 249.8 kB / 1.391 GB, free: 1.59 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.8032, allocations: 350.5 kB / 1.392 GB, free: 1.223 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.8043, allocations: 0.576 MB / 1.392 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8043, allocations: 0 / 1.392 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001824/0.8061, allocations: 0.7945 MB / 1.393 GB, free: 15.83 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8062, allocations: 4 kB / 1.393 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.8062, allocations: 4 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.8067, allocations: 80.86 kB / 1.393 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.8073, allocations: 151.8 kB / 1.393 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.8094, allocations: 1.63 MB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.81, allocations: 91.58 kB / 1.395 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.8101, allocations: 27.98 kB / 1.395 GB, free: 13.7 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$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 (85): * Single equations (assignments): 84 * 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.0003588/0.8105, allocations: 270.3 kB / 1.395 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.8106, allocations: 87.44 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.813, allocations: 1.042 MB / 1.396 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.813, allocations: 12 kB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.813, allocations: 0 / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.813, allocations: 7.922 kB / 1.396 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.8162, allocations: 1.919 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8162, allocations: 3.984 kB / 1.398 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.8167, allocations: 139.8 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/0.8172, allocations: 76.72 kB / 1.399 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.8173, allocations: 31.91 kB / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.8192, allocations: 1.662 MB / 1.4 GB, free: 8.223 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8193, allocations: 0 / 1.4 GB, free: 8.223 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.8212, allocations: 0.9906 MB / 1.401 GB, free: 7.215 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.8216, allocations: 276.2 kB / 1.401 GB, free: 6.926 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.8217, allocations: 16 kB / 1.401 GB, free: 6.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.8223, allocations: 62.44 kB / 1.401 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8225, allocations: 76.89 kB / 1.402 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.8226, allocations: 31.98 kB / 1.402 GB, free: 6.742 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005455/0.8231, allocations: 455 kB / 1.402 GB, free: 6.301 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8231, allocations: 0 / 1.402 GB, free: 6.301 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007095/0.8239, allocations: 315.2 kB / 1.402 GB, free: 5.992 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004021/0.8279, allocations: 2.04 MB / 1.404 GB, free: 4.109 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.8295, allocations: 0.7882 MB / 1.405 GB, free: 3.305 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8295, allocations: 0 / 1.405 GB, free: 3.305 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.8304, allocations: 0.5121 MB / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.8316, allocations: 310.6 kB / 1.406 GB, free: 2.504 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00983/0.8414, allocations: 6.16 MB / 1.412 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.8421, allocations: 1.015 MB / 1.413 GB, free: 11.19 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007137/0.8428, allocations: 262.5 kB / 1.413 GB, free: 10.93 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.8434, allocations: 379.2 kB / 1.413 GB, free: 10.56 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.8434, allocations: 4 kB / 1.413 GB, free: 10.55 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.583/2.427, allocations: 21.31 MB / 1.434 GB, free: 5.59 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/17.33, allocations: 5.562 kB / 1.434 GB, free: 5.586 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)