Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_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.006757/0.006757, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001826/0.001826, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.344/2.344, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.89 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2443, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007415/0.2518, allocations: 6.946 MB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5943/0.8461, allocations: 151.3 MB / 1.321 GB, free: 8.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.8471, allocations: 22.19 kB / 1.321 GB, free: 8.754 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007646/0.8479, allocations: 254.1 kB / 1.321 GB, free: 8.605 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.8502, allocations: 0.7916 MB / 1.322 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.8522, allocations: 0.9935 MB / 1.323 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002234/0.8544, allocations: 2.144 MB / 1.325 GB, free: 7.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.8556, allocations: 1.023 MB / 1.326 GB, free: 7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.8565, allocations: 0.8326 MB / 1.327 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009087/0.8575, allocations: 0.9044 MB / 1.327 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.8577, allocations: 207.2 kB / 1.328 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.8586, allocations: 0.567 MB / 1.328 GB, free: 5.977 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.859, allocations: 483.3 kB / 1.329 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007871/0.8598, allocations: 0.957 MB / 1.33 GB, free: 5.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.8621, allocations: 2.577 MB / 1.332 GB, free: 3.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8621, allocations: 1.344 kB / 1.332 GB, free: 3.934 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8621, allocations: 5.297 kB / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.8622, allocations: 4 kB / 1.332 GB, free: 3.926 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003403/0.8656, allocations: 2.108 MB / 1.334 GB, free: 2.555 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.8656, allocations: 20.59 kB / 1.334 GB, free: 2.547 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/0.8659, allocations: 222.4 kB / 1.334 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008949/0.8668, allocations: 259.9 kB / 1.335 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.868, allocations: 1.007 MB / 1.336 GB, free: 1.652 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/0.8681, allocations: 117.5 kB / 1.336 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.8683, allocations: 149.4 kB / 1.336 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.8706, allocations: 1.582 MB / 1.337 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.8706, allocations: 10.48 kB / 1.337 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.8707, allocations: 63.09 kB / 1.338 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.8708, allocations: 36.25 kB / 1.338 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.8731, allocations: 1.638 MB / 1.339 GB, free: 376 kB / 1.014 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.005704/0.8788, allocations: 4.555 MB / 1.344 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.8808, allocations: 1.191 MB / 1.345 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.8815, allocations: 476.8 kB / 1.345 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.233e-05/0.8816, allocations: 45.55 kB / 1.345 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.8828, allocations: 0.7835 MB / 1.346 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 2.565e-06/0.8828, allocations: 0 / 1.346 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=128): time 0.003911/0.8867, allocations: 1.852 MB / 1.348 GB, free: 11.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.8868, allocations: 198.7 kB / 1.348 GB, free: 11.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.8878, allocations: 0.8682 MB / 1.349 GB, free: 11.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.8879, allocations: 55.89 kB / 1.349 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.8883, allocations: 0.6198 MB / 1.35 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.8886, allocations: 427.9 kB / 1.35 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.889, allocations: 241.4 kB / 1.35 GB, free: 10.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8891, allocations: 351.9 kB / 1.351 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.8898, allocations: 426.4 kB / 1.351 GB, free: 9.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.8907, allocations: 0.5583 MB / 1.351 GB, free: 9.602 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.8923, allocations: 0.9648 MB / 1.352 GB, free: 9.152 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8923, allocations: 3.75 kB / 1.352 GB, free: 9.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002469/0.8948, allocations: 1.306 MB / 1.354 GB, free: 8.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8948, allocations: 8.656 kB / 1.354 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8949, allocations: 2.812 kB / 1.354 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.8954, allocations: 85.55 kB / 1.354 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009553/0.8964, allocations: 254.1 kB / 1.354 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.8983, allocations: 1.657 MB / 1.356 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.8992, allocations: 146.6 kB / 1.356 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.8993, allocations: 50.05 kB / 1.356 GB, free: 6.711 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0004448/0.8997, allocations: 351.9 kB / 1.356 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.8999, allocations: 123.7 kB / 1.356 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.9031, allocations: 1.711 MB / 1.358 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9032, allocations: 14.62 kB / 1.358 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9032, allocations: 0 / 1.358 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.9032, allocations: 9.094 kB / 1.358 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.9046, allocations: 1.405 MB / 1.359 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9046, allocations: 0 / 1.359 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.9055, allocations: 218.1 kB / 1.36 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.9059, allocations: 72.05 kB / 1.36 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.9059, allocations: 46.67 kB / 1.36 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.9077, allocations: 1.67 MB / 1.361 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9077, allocations: 3.938 kB / 1.361 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.9101, allocations: 1.416 MB / 1.363 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.9105, allocations: 384.4 kB / 1.363 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.9107, allocations: 40.98 kB / 1.363 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.9115, allocations: 85.73 kB / 1.363 GB, free: 1.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.9117, allocations: 109.7 kB / 1.363 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/0.9118, allocations: 56.12 kB / 1.363 GB, free: 1.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006951/0.9125, allocations: 0.6479 MB / 1.364 GB, free: 1.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9125, allocations: 4 kB / 1.364 GB, free: 1.059 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000918/0.9134, allocations: 486.6 kB / 1.364 GB, free: 0.9219 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004222/0.9177, allocations: 2.487 MB / 1.367 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.9197, allocations: 1.243 MB / 1.368 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9197, allocations: 0 / 1.368 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.9208, allocations: 0.7455 MB / 1.369 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.922, allocations: 358.3 kB / 1.369 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.9343, allocations: 9.327 MB / 1.378 GB, free: 8.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.935, allocations: 1.241 MB / 1.379 GB, free: 7.832 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008434/0.9358, allocations: 328.7 kB / 1.38 GB, free: 7.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/0.9367, allocations: 0.6259 MB / 1.38 GB, free: 7.156 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/0.9367, allocations: 0 / 1.38 GB, free: 7.156 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.209/2.145, allocations: 31.17 MB / 1.411 GB, free: 9.777 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/20.07, allocations: 7.938 kB / 1.411 GB, free: 9.77 MB / 1.076 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)