Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.0009718/0.0009718, allocations: 108 kB / 15.61 MB, free: 152 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.000919/0.0009189, allocations: 197 kB / 16.53 MB, free: 6.664 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.183/1.183, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.045/2.045, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 67.88 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4663, allocations: 140.3 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004234/0.4705, allocations: 4.443 MB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1334/0.604, allocations: 150.6 MB / 1.101 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007388/0.6048, allocations: 15.94 kB / 1.101 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.6053, allocations: 182.3 kB / 1.101 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.607, allocations: 0.5141 MB / 1.102 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.6087, allocations: 0.8399 MB / 1.103 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.61, allocations: 1.347 MB / 1.104 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.6108, allocations: 0.626 MB / 1.105 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.6113, allocations: 494.2 kB / 1.105 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.6119, allocations: 0.5056 MB / 1.106 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.6121, allocations: 120 kB / 1.106 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.6128, allocations: 467.6 kB / 1.106 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.6131, allocations: 303 kB / 1.106 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.6136, allocations: 0.5596 MB / 1.107 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.6151, allocations: 1.601 MB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6151, allocations: 0 / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6151, allocations: 4 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.6151, allocations: 0 / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002376/0.6175, allocations: 1.46 MB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.6176, allocations: 12.03 kB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.6177, allocations: 139.6 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.6186, allocations: 183.4 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/0.6195, allocations: 0.7505 MB / 1.111 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.6196, allocations: 73.98 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.6197, allocations: 84 kB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6211, allocations: 0.9495 MB / 1.112 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.6211, allocations: 0 / 1.112 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.6212, allocations: 43.94 kB / 1.112 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.6212, allocations: 20 kB / 1.112 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.6229, allocations: 1.124 MB / 1.113 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.6263, allocations: 2.55 MB / 1.116 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.6277, allocations: 0.9033 MB / 1.117 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.6282, allocations: 324.8 kB / 1.117 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.6283, allocations: 36.55 kB / 1.117 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.6291, allocations: 0.512 MB / 1.117 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 1.963e-06/0.6291, allocations: 0 / 1.117 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003011/0.6322, allocations: 1.251 MB / 1.119 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.6323, allocations: 200.8 kB / 1.119 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.6329, allocations: 0.6372 MB / 1.119 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.633, allocations: 41.7 kB / 1.119 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.6333, allocations: 408.3 kB / 1.12 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.6335, allocations: 276 kB / 1.12 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.6337, allocations: 150.6 kB / 1.12 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6338, allocations: 386.8 kB / 1.121 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.6343, allocations: 253.9 kB / 1.121 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.6349, allocations: 383.4 kB / 1.121 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6359, allocations: 0.6172 MB / 1.122 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6359, allocations: 0 / 1.122 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001748/0.6377, allocations: 0.8369 MB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6377, allocations: 11.94 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6377, allocations: 3.938 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.6383, allocations: 80.91 kB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.6389, allocations: 159.8 kB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.6408, allocations: 1.63 MB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.6414, allocations: 91.36 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.6414, allocations: 39.91 kB / 1.125 GB, free: 13.58 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.0003193/0.6418, allocations: 269.6 kB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.6419, allocations: 87.03 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.6442, allocations: 1.14 MB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.6442, allocations: 11.94 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6442, allocations: 0 / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6443, allocations: 3.984 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.6472, allocations: 2.044 MB / 1.128 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6472, allocations: 0 / 1.128 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.6478, allocations: 159.8 kB / 1.128 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.6482, allocations: 68.8 kB / 1.128 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.6483, allocations: 35.91 kB / 1.128 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.65, allocations: 1.662 MB / 1.13 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.65, allocations: 0 / 1.13 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6518, allocations: 1.043 MB / 1.131 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.6522, allocations: 291.5 kB / 1.131 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6523, allocations: 20 kB / 1.131 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.6529, allocations: 69.64 kB / 1.131 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6531, allocations: 72.89 kB / 1.131 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.6532, allocations: 35.98 kB / 1.131 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004811/0.6536, allocations: 471 kB / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6537, allocations: 4 kB / 1.132 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006779/0.6543, allocations: 315.1 kB / 1.132 GB, free: 5.547 MB / 0.8887 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 (100): * Single equations (assignments): 93 * 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.003175/0.6575, allocations: 2.102 MB / 1.134 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.6596, allocations: 1.065 MB / 1.135 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6597, allocations: 0 / 1.135 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008569/0.6605, allocations: 0.5396 MB / 1.136 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6616, allocations: 305.5 kB / 1.136 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009873/0.6715, allocations: 6.746 MB / 1.143 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.6721, allocations: 1.036 MB / 1.144 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007172/0.6728, allocations: 266.9 kB / 1.144 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.6733, allocations: 395.3 kB / 1.144 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.6733, allocations: 0 / 1.144 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06915/0.7424, allocations: 21.66 MB / 1.166 GB, free: 3.766 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.92, allocations: 12.61 kB / 1.166 GB, free: 3.758 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)