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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009945/0.0009944, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001024/0.001023, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.08/2.08, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.477, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004462/0.4815, allocations: 4.612 MB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.6166, allocations: 148.4 MB / 1.098 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.6174, allocations: 15.94 kB / 1.099 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.6179, allocations: 138.9 kB / 1.099 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.6192, allocations: 473.1 kB / 1.099 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.6208, allocations: 0.7607 MB / 1.1 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.6219, allocations: 1.347 MB / 1.101 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.6227, allocations: 0.686 MB / 1.102 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.6231, allocations: 478 kB / 1.102 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.6236, allocations: 0.5404 MB / 1.103 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.6237, allocations: 68 kB / 1.103 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.6244, allocations: 439.6 kB / 1.103 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.6246, allocations: 270.9 kB / 1.104 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.625, allocations: 0.5631 MB / 1.104 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.6264, allocations: 1.713 MB / 1.106 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.6264, allocations: 0 / 1.106 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6264, allocations: 0 / 1.106 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.6264, allocations: 0 / 1.106 GB, free: 1.012 MB / 0.8575 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.002437/0.6289, allocations: 1.569 MB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.6289, allocations: 8.031 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.6291, allocations: 160.5 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.6299, allocations: 199.2 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/0.6308, allocations: 0.7972 MB / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.6309, allocations: 78 kB / 1.108 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.631, allocations: 96 kB / 1.109 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.6326, allocations: 1.067 MB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6327, allocations: 0 / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.6328, allocations: 44 kB / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.6328, allocations: 24 kB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6346, allocations: 1.225 MB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.6385, allocations: 2.925 MB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.64, allocations: 0.8974 MB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.6406, allocations: 343.7 kB / 1.115 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/0.6407, allocations: 33.03 kB / 1.115 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009074/0.6416, allocations: 0.5436 MB / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 1.934e-06/0.6416, allocations: 0 / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003078/0.6447, allocations: 1.337 MB / 1.117 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.6448, allocations: 196.9 kB / 1.117 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.6455, allocations: 0.6803 MB / 1.118 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.6456, allocations: 41.7 kB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.6459, allocations: 452.2 kB / 1.118 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.6461, allocations: 303.7 kB / 1.118 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.6463, allocations: 166.5 kB / 1.119 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6465, allocations: 394.7 kB / 1.119 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.647, allocations: 281.8 kB / 1.119 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.6476, allocations: 402.5 kB / 1.12 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.6487, allocations: 0.6594 MB / 1.12 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6488, allocations: 4 kB / 1.12 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00192/0.6507, allocations: 0.8995 MB / 1.121 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6507, allocations: 8 kB / 1.121 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6507, allocations: 3.938 kB / 1.121 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.6513, allocations: 84.83 kB / 1.121 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.652, allocations: 171.8 kB / 1.121 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.6538, allocations: 1.52 MB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.6545, allocations: 113.3 kB / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.6546, allocations: 27.98 kB / 1.123 GB, free: 14.76 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.0003486/0.6549, allocations: 279.4 kB / 1.123 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6551, allocations: 90.88 kB / 1.123 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.6577, allocations: 1.23 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6577, allocations: 12 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6577, allocations: 0 / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.6577, allocations: 11.91 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6587, allocations: 1.012 MB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6587, allocations: 0 / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/0.6594, allocations: 175.7 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.6599, allocations: 80.78 kB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.66, allocations: 27.97 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.6616, allocations: 1.548 MB / 1.127 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6616, allocations: 0 / 1.127 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.6635, allocations: 1.053 MB / 1.128 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.6639, allocations: 291.6 kB / 1.129 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.664, allocations: 23.94 kB / 1.129 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.6647, allocations: 67.92 kB / 1.129 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.6648, allocations: 88.81 kB / 1.129 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.6649, allocations: 39.97 kB / 1.129 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005453/0.6654, allocations: 0.4951 MB / 1.129 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6655, allocations: 0 / 1.129 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007279/0.6662, allocations: 351.1 kB / 1.13 GB, free: 7.652 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.003383/0.6696, allocations: 2.12 MB / 1.132 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.6712, allocations: 0.8937 MB / 1.133 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6712, allocations: 0 / 1.133 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.6721, allocations: 0.5745 MB / 1.133 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6731, allocations: 272.5 kB / 1.133 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6851, allocations: 7.641 MB / 1.141 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.6857, allocations: 1.075 MB / 1.142 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008184/0.6865, allocations: 283.4 kB / 1.142 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.6871, allocations: 439.2 kB / 1.143 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.6871, allocations: 0 / 1.143 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6025/1.29, allocations: 22.43 MB / 1.165 GB, free: 4.23 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.29, allocations: 335.2 kB / 1.165 GB, free: 3.832 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.768, allocations: 0 / 1.165 GB, free: 3.832 MB / 0.92 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)