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.0008687/0.0008688, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005189/0.005189, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.178/1.178, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.109/2.109, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 8.281 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.575, allocations: 142.4 MB / 0.9552 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004068/0.5791, allocations: 4.189 MB / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.7212, allocations: 146.8 MB / 1.103 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.7219, allocations: 19.94 kB / 1.103 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.7225, allocations: 138.9 kB / 1.103 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.7243, allocations: 474 kB / 1.103 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.7262, allocations: 0.7653 MB / 1.104 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.7277, allocations: 1.343 MB / 1.105 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.7285, allocations: 0.6743 MB / 1.106 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004447/0.729, allocations: 386 kB / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.7294, allocations: 437.5 kB / 1.107 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.7295, allocations: 28 kB / 1.107 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.7302, allocations: 403.6 kB / 1.107 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.7304, allocations: 207 kB / 1.107 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.7308, allocations: 0.5063 MB / 1.108 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.7321, allocations: 1.658 MB / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7321, allocations: 4 kB / 1.109 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7321, allocations: 0 / 1.109 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.7321, allocations: 0 / 1.109 GB, free: 0.8555 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.002193/0.7343, allocations: 1.32 MB / 1.111 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.7344, allocations: 12.03 kB / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.7345, allocations: 152.5 kB / 1.111 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/0.7354, allocations: 219.1 kB / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.7363, allocations: 0.7933 MB / 1.112 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.7364, allocations: 78 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.7365, allocations: 96 kB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.7381, allocations: 1.071 MB / 1.113 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.7381, allocations: 0 / 1.113 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.972e-05/0.7382, allocations: 44 kB / 1.113 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.7382, allocations: 24 kB / 1.113 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.74, allocations: 1.233 MB / 1.114 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.744, allocations: 2.96 MB / 1.117 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.7455, allocations: 0.8965 MB / 1.118 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.746, allocations: 343.7 kB / 1.118 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-05/0.7461, allocations: 37.02 kB / 1.119 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008768/0.747, allocations: 0.5552 MB / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 1.833e-06/0.747, allocations: 0 / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.002998/0.75, allocations: 1.352 MB / 1.12 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.7501, allocations: 192.9 kB / 1.121 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.7508, allocations: 0.6802 MB / 1.121 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.7509, allocations: 49.7 kB / 1.121 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.7512, allocations: 448.3 kB / 1.122 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7514, allocations: 295.7 kB / 1.122 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/0.7515, allocations: 73.67 kB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7517, allocations: 394.7 kB / 1.122 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.7522, allocations: 277.9 kB / 1.123 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.7528, allocations: 410.5 kB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7539, allocations: 0.6672 MB / 1.124 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7539, allocations: 0 / 1.124 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001815/0.7557, allocations: 0.9111 MB / 1.125 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7558, allocations: 12.09 kB / 1.125 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7558, allocations: 0 / 1.125 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.7563, allocations: 80.78 kB / 1.125 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.757, allocations: 183.7 kB / 1.125 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.7589, allocations: 1.516 MB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.7596, allocations: 119.2 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.7596, allocations: 31.97 kB / 1.127 GB, free: 14.83 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.0003715/0.76, allocations: 285.3 kB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.7602, allocations: 94.86 kB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.7626, allocations: 1.238 MB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.7627, allocations: 12 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.7627, allocations: 0 / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.7627, allocations: 3.984 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.7637, allocations: 1.008 MB / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7637, allocations: 0 / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.7643, allocations: 171.8 kB / 1.129 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004829/0.7648, allocations: 92.7 kB / 1.129 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.7649, allocations: 23.98 kB / 1.129 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.7665, allocations: 1.559 MB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7665, allocations: 3.938 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.7684, allocations: 1.053 MB / 1.132 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.7688, allocations: 319.4 kB / 1.132 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7689, allocations: 24 kB / 1.132 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.7696, allocations: 83.92 kB / 1.132 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.7697, allocations: 88.81 kB / 1.132 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/0.7698, allocations: 35.98 kB / 1.132 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005286/0.7703, allocations: 0.4951 MB / 1.133 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7703, allocations: 0 / 1.133 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007063/0.771, allocations: 351.1 kB / 1.133 GB, free: 7.664 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.003351/0.7744, allocations: 2.127 MB / 1.135 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.7759, allocations: 0.9053 MB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.776, allocations: 0 / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.7769, allocations: 0.5823 MB / 1.137 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.778, allocations: 273.3 kB / 1.137 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.7901, allocations: 7.735 MB / 1.145 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.7906, allocations: 1.077 MB / 1.146 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007682/0.7914, allocations: 279.3 kB / 1.146 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/0.792, allocations: 447.2 kB / 1.146 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.792, allocations: 0 / 1.146 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.831, allocations: 22.11 MB / 1.168 GB, free: 4.473 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.8313, allocations: 316.8 kB / 1.168 GB, free: 4.09 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/3.032, allocations: 0 / 1.168 GB, free: 4.09 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)