Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001192/0.001193, allocations: 108 kB / 15.61 MB, free: 128 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.001178/0.001178, allocations: 197.5 kB / 16.53 MB, free: 6.672 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: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.248/2.248, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4842, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005752/0.49, allocations: 4.981 MB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.6237, allocations: 150.8 MB / 1.17 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.6245, allocations: 19.88 kB / 1.17 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.6251, allocations: 190.1 kB / 1.17 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.6268, allocations: 0.5901 MB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.6285, allocations: 0.8474 MB / 1.171 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.6299, allocations: 1.444 MB / 1.173 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007834/0.6306, allocations: 0.5843 MB / 1.173 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.6313, allocations: 0.51 MB / 1.174 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.6319, allocations: 0.5329 MB / 1.174 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.6321, allocations: 120 kB / 1.174 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.6329, allocations: 463.6 kB / 1.175 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.6332, allocations: 311 kB / 1.175 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.6337, allocations: 0.5908 MB / 1.176 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.6352, allocations: 1.639 MB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6352, allocations: 4 kB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6352, allocations: 0 / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.854e-05/0.6353, allocations: 4 kB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00253/0.6378, allocations: 1.481 MB / 1.179 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6379, allocations: 8.031 kB / 1.179 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.638, allocations: 139.7 kB / 1.179 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.6389, allocations: 195.3 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.6399, allocations: 0.7622 MB / 1.18 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.6399, allocations: 66 kB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.64, allocations: 84 kB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6415, allocations: 0.9652 MB / 1.181 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.6415, allocations: 0 / 1.181 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.6416, allocations: 40 kB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6416, allocations: 31.94 kB / 1.181 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.6433, allocations: 1.155 MB / 1.182 GB, free: 9.234 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.647, allocations: 2.891 MB / 1.185 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.6484, allocations: 0.8404 MB / 1.186 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.649, allocations: 318.7 kB / 1.186 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.456e-05/0.6491, allocations: 36.67 kB / 1.186 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008504/0.6499, allocations: 0.5353 MB / 1.186 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.004e-06/0.6499, allocations: 0 / 1.186 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003088/0.653, allocations: 1.29 MB / 1.188 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.6531, allocations: 196.8 kB / 1.188 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.6538, allocations: 0.6489 MB / 1.189 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.6539, allocations: 45.7 kB / 1.189 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.6541, allocations: 408.3 kB / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.6543, allocations: 287.9 kB / 1.189 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.6545, allocations: 162.5 kB / 1.189 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6547, allocations: 390.8 kB / 1.19 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.6552, allocations: 269.8 kB / 1.19 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.6557, allocations: 386.5 kB / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.6568, allocations: 0.6399 MB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6569, allocations: 4 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001846/0.6587, allocations: 0.876 MB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6587, allocations: 4 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6587, allocations: 4 kB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.6593, allocations: 88.81 kB / 1.192 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.66, allocations: 163.8 kB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07558/0.7355, allocations: 1.63 MB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/0.7365, allocations: 104.4 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.7366, allocations: 32.05 kB / 1.194 GB, free: 12.58 MB / 0.9512 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,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 (97): * Single equations (assignments): 96 * 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.0004351/0.737, allocations: 275 kB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.7372, allocations: 87.03 kB / 1.194 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.7397, allocations: 1.164 MB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.7397, allocations: 11.94 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7397, allocations: 4 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7397, allocations: 3.984 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.7407, allocations: 0.9463 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7407, allocations: 0 / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.7413, allocations: 155.8 kB / 1.196 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.7417, allocations: 72.73 kB / 1.197 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.7418, allocations: 31.91 kB / 1.197 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.7435, allocations: 1.666 MB / 1.198 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7435, allocations: 0 / 1.198 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7454, allocations: 0.9942 MB / 1.199 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.7458, allocations: 279.7 kB / 1.199 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.7459, allocations: 23.94 kB / 1.199 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.7466, allocations: 71.92 kB / 1.2 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7467, allocations: 76.89 kB / 1.2 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.7468, allocations: 39.97 kB / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005391/0.7473, allocations: 483 kB / 1.2 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7473, allocations: 0 / 1.2 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00073/0.7481, allocations: 327.2 kB / 1.2 GB, free: 5.648 MB / 0.9512 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.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 (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.003242/0.7513, allocations: 2.058 MB / 1.202 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.7536, allocations: 1.089 MB / 1.203 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7536, allocations: 0 / 1.203 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.7545, allocations: 0.5393 MB / 1.204 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7555, allocations: 310.5 kB / 1.204 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009365/0.7649, allocations: 6.761 MB / 1.211 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.7654, allocations: 1.04 MB / 1.212 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007557/0.7662, allocations: 279.1 kB / 1.212 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.7667, allocations: 407.3 kB / 1.213 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.7667, allocations: 0 / 1.213 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/2.44, allocations: 22.49 MB / 1.235 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/13.38, allocations: 14.72 kB / 1.235 GB, free: 3.008 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)