Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.006478/0.006478, allocations: 98.69 kB / 15.73 MB, free: 6.047 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.001737/0.001737, allocations: 188.3 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.634/2.634, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2658, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006047/0.2718, allocations: 4.816 MB / 1.247 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6236/0.8955, allocations: 150.6 MB / 1.394 GB, free: 1.465 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006942/0.8962, allocations: 14.72 kB / 1.394 GB, free: 1.461 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.8969, allocations: 190.4 kB / 1.394 GB, free: 1.297 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.8987, allocations: 0.5406 MB / 1.394 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.9005, allocations: 0.8391 MB / 1.395 GB, free: 300 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.9021, allocations: 1.378 MB / 1.396 GB, free: 15.43 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008462/0.903, allocations: 0.5949 MB / 1.397 GB, free: 15.06 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006848/0.9037, allocations: 490.3 kB / 1.398 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.9044, allocations: 0.4988 MB / 1.398 GB, free: 14.41 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.9046, allocations: 116 kB / 1.398 GB, free: 14.41 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.9053, allocations: 489.4 kB / 1.399 GB, free: 14.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.9056, allocations: 297.8 kB / 1.399 GB, free: 14 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.9061, allocations: 0.5594 MB / 1.399 GB, free: 13.58 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.9078, allocations: 1.65 MB / 1.401 GB, free: 12.39 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.9078, allocations: 0 / 1.401 GB, free: 12.39 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9078, allocations: 1.219 kB / 1.401 GB, free: 12.39 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.9078, allocations: 0 / 1.401 GB, free: 12.39 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002137/0.9099, allocations: 1.461 MB / 1.402 GB, free: 11.24 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.91, allocations: 10.06 kB / 1.402 GB, free: 11.24 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.9101, allocations: 141.7 kB / 1.403 GB, free: 11.12 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/0.9109, allocations: 188.2 kB / 1.403 GB, free: 11.03 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.9119, allocations: 0.7685 MB / 1.404 GB, free: 10.4 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.912, allocations: 63.97 kB / 1.404 GB, free: 10.37 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.9121, allocations: 77.41 kB / 1.404 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.9135, allocations: 0.9251 MB / 1.405 GB, free: 9.746 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.9135, allocations: 7.938 kB / 1.405 GB, free: 9.738 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.9136, allocations: 32.72 kB / 1.405 GB, free: 9.715 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.9136, allocations: 22.28 kB / 1.405 GB, free: 9.715 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.9152, allocations: 1.11 MB / 1.406 GB, free: 9.184 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.9187, allocations: 2.761 MB / 1.408 GB, free: 6.938 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.9202, allocations: 0.8845 MB / 1.409 GB, free: 6.438 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.9207, allocations: 311.2 kB / 1.41 GB, free: 6.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-05/0.9207, allocations: 26.7 kB / 1.41 GB, free: 6.27 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.9215, allocations: 0.493 MB / 1.41 GB, free: 5.945 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 1.793e-06/0.9215, allocations: 0 / 1.41 GB, free: 5.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.002768/0.9243, allocations: 1.191 MB / 1.411 GB, free: 5.297 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9244, allocations: 192.8 kB / 1.411 GB, free: 5.074 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.9251, allocations: 0.6193 MB / 1.412 GB, free: 4.719 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.9251, allocations: 43.33 kB / 1.412 GB, free: 4.676 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.9254, allocations: 404.4 kB / 1.412 GB, free: 4.32 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.9256, allocations: 266.2 kB / 1.413 GB, free: 4.09 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.9258, allocations: 151.2 kB / 1.413 GB, free: 3.996 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.926, allocations: 388.7 kB / 1.413 GB, free: 3.625 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.9265, allocations: 244.8 kB / 1.413 GB, free: 3.504 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.927, allocations: 369.8 kB / 1.414 GB, free: 3.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.928, allocations: 0.5797 MB / 1.414 GB, free: 2.953 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.928, allocations: 0 / 1.414 GB, free: 2.953 MB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001647/0.9297, allocations: 0.7962 MB / 1.415 GB, free: 2.547 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.9297, allocations: 8.719 kB / 1.415 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9297, allocations: 1.125 kB / 1.415 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005375/0.9303, allocations: 88.27 kB / 1.415 GB, free: 2.496 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.9308, allocations: 157.8 kB / 1.415 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3042/1.235, allocations: 1.637 MB / 1.417 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/1.236, allocations: 89.53 kB / 1.417 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/1.236, allocations: 27.39 kB / 1.417 GB, free: 0.7812 MB / 1.107 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.0003694/1.236, allocations: 266.2 kB / 1.417 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1.236, allocations: 91.97 kB / 1.417 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/1.238, allocations: 1.055 MB / 1.418 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.239, allocations: 10.44 kB / 1.418 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.239, allocations: 3.938 kB / 1.419 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.239, allocations: 11.95 kB / 1.419 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/1.241, allocations: 1.969 MB / 1.42 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.241, allocations: 1.781 kB / 1.42 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/1.242, allocations: 139.6 kB / 1.421 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/1.242, allocations: 78.03 kB / 1.421 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/1.242, allocations: 23.98 kB / 1.421 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/1.244, allocations: 1.674 MB / 1.422 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.244, allocations: 0 / 1.422 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/1.246, allocations: 0.9971 MB / 1.423 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/1.246, allocations: 284.3 kB / 1.424 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.246, allocations: 17.5 kB / 1.424 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/1.247, allocations: 64.16 kB / 1.424 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.247, allocations: 68.89 kB / 1.424 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/1.247, allocations: 35.98 kB / 1.424 GB, free: 11.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004914/1.247, allocations: 455 kB / 1.424 GB, free: 11.46 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.247, allocations: 0 / 1.424 GB, free: 11.46 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007367/1.248, allocations: 319.2 kB / 1.424 GB, free: 11.14 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.00358/1.252, allocations: 2.061 MB / 1.426 GB, free: 9.25 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001426/1.253, allocations: 0.8048 MB / 1.427 GB, free: 8.43 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.253, allocations: 3.938 kB / 1.427 GB, free: 8.426 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000836/1.254, allocations: 0.5119 MB / 1.428 GB, free: 7.902 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.255, allocations: 300.2 kB / 1.428 GB, free: 7.629 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/1.264, allocations: 6.212 MB / 1.434 GB, free: 1.305 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/1.264, allocations: 1.012 MB / 1.435 GB, free: 268 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006277/1.265, allocations: 258.7 kB / 1.435 GB, free: 4 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/1.266, allocations: 375.3 kB / 1.436 GB, free: 15.64 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/1.266, allocations: 0 / 1.436 GB, free: 15.64 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.905/3.17, allocations: 21.6 MB / 1.457 GB, free: 10.37 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.78/28.95, allocations: 6.188 kB / 1.457 GB, free: 10.36 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)