Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001161/0.001161, 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.001109/0.001109, allocations: 194.3 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.157/1.157, 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.01/2.01, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4714, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004736/0.4762, allocations: 4.616 MB / 0.9542 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.6098, allocations: 150.7 MB / 1.101 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.6106, allocations: 19.88 kB / 1.101 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.6112, allocations: 182.3 kB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.6129, allocations: 0.5433 MB / 1.102 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.6147, allocations: 0.8725 MB / 1.103 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.616, allocations: 1.437 MB / 1.104 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.6168, allocations: 0.7067 MB / 1.105 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.6173, allocations: 0.5411 MB / 1.106 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/0.6178, allocations: 0.5763 MB / 1.106 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.618, allocations: 136 kB / 1.106 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.6187, allocations: 0.4918 MB / 1.107 GB, free: 408 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.619, allocations: 334.9 kB / 1.107 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.6194, allocations: 0.6296 MB / 1.108 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.6208, allocations: 1.772 MB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6208, allocations: 0 / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6208, allocations: 0 / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6208, allocations: 4 kB / 1.109 GB, free: 13.66 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00224/0.6231, allocations: 1.563 MB / 1.111 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.6231, allocations: 8.031 kB / 1.111 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.6233, allocations: 160.5 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.6241, allocations: 203.2 kB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008701/0.625, allocations: 0.7933 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.625, allocations: 78.02 kB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6251, allocations: 96 kB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6267, allocations: 1.063 MB / 1.113 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6267, allocations: 0 / 1.113 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.6268, allocations: 44 kB / 1.113 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6268, allocations: 27.94 kB / 1.113 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6285, allocations: 1.225 MB / 1.115 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.6322, allocations: 2.928 MB / 1.117 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.6337, allocations: 0.8858 MB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.6342, allocations: 343.7 kB / 1.119 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/0.6343, allocations: 41.02 kB / 1.119 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00085/0.6352, allocations: 0.5435 MB / 1.119 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 1.874e-06/0.6352, allocations: 3.938 kB / 1.119 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.002927/0.6381, allocations: 1.337 MB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.6382, allocations: 188.9 kB / 1.121 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.6389, allocations: 0.6841 MB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.639, allocations: 41.7 kB / 1.121 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.6392, allocations: 452.3 kB / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.6394, allocations: 299.7 kB / 1.122 GB, free: 328 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.6396, allocations: 170.5 kB / 1.122 GB, free: 152 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6398, allocations: 390.8 kB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.6403, allocations: 281.8 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.6409, allocations: 402.6 kB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.642, allocations: 0.6672 MB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.642, allocations: 0 / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001816/0.6438, allocations: 0.9033 MB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6438, allocations: 4 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6438, allocations: 0 / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/0.6444, allocations: 84.83 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.645, allocations: 175.8 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.6468, allocations: 1.63 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.6474, allocations: 103.3 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.6474, allocations: 39.97 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0003219/0.6478, allocations: 271.4 kB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.6479, allocations: 98.8 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.6503, allocations: 1.234 MB / 1.128 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6503, allocations: 12 kB / 1.128 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6504, allocations: 0 / 1.128 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.6504, allocations: 3.984 kB / 1.128 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.6513, allocations: 1.013 MB / 1.129 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6513, allocations: 0 / 1.129 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.6519, allocations: 167.7 kB / 1.13 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.6523, allocations: 76.78 kB / 1.13 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.6524, allocations: 31.97 kB / 1.13 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.654, allocations: 1.658 MB / 1.131 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.654, allocations: 0 / 1.131 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6559, allocations: 1.049 MB / 1.132 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.6562, allocations: 303.5 kB / 1.133 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.6563, allocations: 31.84 kB / 1.133 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.6569, allocations: 66.11 kB / 1.133 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6571, allocations: 80.88 kB / 1.133 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.6571, allocations: 43.98 kB / 1.133 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004967/0.6576, allocations: 0.4912 MB / 1.133 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6576, allocations: 0 / 1.133 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006717/0.6583, allocations: 347.2 kB / 1.134 GB, free: 4.082 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.003155/0.6615, allocations: 2.123 MB / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.6637, allocations: 1.132 MB / 1.137 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6638, allocations: 7.922 kB / 1.137 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.6646, allocations: 0.5745 MB / 1.137 GB, free: 384 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.6656, allocations: 302 kB / 1.138 GB, free: 100 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.6757, allocations: 7.182 MB / 1.145 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.6762, allocations: 1.079 MB / 1.146 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007284/0.6769, allocations: 275.4 kB / 1.146 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.6775, allocations: 439.2 kB / 1.146 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6775, allocations: 4 kB / 1.146 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08685/0.7643, allocations: 23.28 MB / 1.169 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.79, allocations: 448 / 1.169 GB, free: 15.98 MB / 0.9356 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)