Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.00527/0.00527, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001463/0.001463, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.441/2.441, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.83 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6165, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006041/0.6225, allocations: 4.815 MB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.7746, allocations: 150.6 MB / 1.372 GB, free: 6.039 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.7753, allocations: 15.94 kB / 1.372 GB, free: 6.023 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.7758, allocations: 186.2 kB / 1.372 GB, free: 5.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.7772, allocations: 0.5505 MB / 1.373 GB, free: 5.289 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.7788, allocations: 0.8346 MB / 1.373 GB, free: 4.461 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.78, allocations: 1.39 MB / 1.375 GB, free: 3.066 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.7808, allocations: 0.5917 MB / 1.375 GB, free: 2.449 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.7813, allocations: 490.3 kB / 1.376 GB, free: 1.969 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.7818, allocations: 0.494 MB / 1.376 GB, free: 1.473 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.782, allocations: 120 kB / 1.376 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.7827, allocations: 491.5 kB / 1.377 GB, free: 0.875 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.783, allocations: 291.1 kB / 1.377 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.7834, allocations: 0.5597 MB / 1.378 GB, free: 28 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.7851, allocations: 1.649 MB / 1.379 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7851, allocations: 0 / 1.379 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7851, allocations: 3.938 kB / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.7851, allocations: 0 / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002232/0.7874, allocations: 1.455 MB / 1.381 GB, free: 12.86 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.7874, allocations: 12.03 kB / 1.381 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.7876, allocations: 143.3 kB / 1.381 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008144/0.7884, allocations: 188 kB / 1.381 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7895, allocations: 0.7661 MB / 1.382 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.7895, allocations: 61.98 kB / 1.382 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.7896, allocations: 83.94 kB / 1.382 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.7911, allocations: 0.9184 MB / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7911, allocations: 0 / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.7912, allocations: 40 kB / 1.383 GB, free: 10.56 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.7913, allocations: 20 kB / 1.383 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.793, allocations: 1.112 MB / 1.384 GB, free: 9.43 MB / 1.107 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.00365/0.7966, allocations: 2.718 MB / 1.387 GB, free: 6.586 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.7981, allocations: 0.8949 MB / 1.388 GB, free: 5.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/0.7987, allocations: 302.7 kB / 1.388 GB, free: 5.367 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.7988, allocations: 36.59 kB / 1.388 GB, free: 5.332 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.7996, allocations: 495.1 kB / 1.388 GB, free: 4.828 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 1.793e-06/0.7996, allocations: 0 / 1.388 GB, free: 4.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.002874/0.8025, allocations: 1.196 MB / 1.39 GB, free: 3.609 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.8026, allocations: 188.6 kB / 1.39 GB, free: 3.383 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.8033, allocations: 0.6331 MB / 1.39 GB, free: 2.746 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.8034, allocations: 41.7 kB / 1.39 GB, free: 2.699 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.8037, allocations: 393.1 kB / 1.391 GB, free: 2.309 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.8039, allocations: 273.7 kB / 1.391 GB, free: 2.039 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.8041, allocations: 146.6 kB / 1.391 GB, free: 1.891 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.8043, allocations: 394.6 kB / 1.392 GB, free: 1.496 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.8048, allocations: 245.9 kB / 1.392 GB, free: 1.254 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.8054, allocations: 358.6 kB / 1.392 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.8064, allocations: 0.5799 MB / 1.393 GB, free: 296 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8064, allocations: 0 / 1.393 GB, free: 296 kB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001753/0.8082, allocations: 0.8062 MB / 1.393 GB, free: 15.47 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8082, allocations: 12.09 kB / 1.393 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8082, allocations: 0 / 1.393 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/0.8088, allocations: 80.72 kB / 1.394 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.8093, allocations: 151.8 kB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.8113, allocations: 1.642 MB / 1.395 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.8119, allocations: 87.55 kB / 1.395 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.8119, allocations: 35.97 kB / 1.395 GB, free: 13.32 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.000329/0.8123, allocations: 265.6 kB / 1.396 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.8124, allocations: 87.44 kB / 1.396 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.8147, allocations: 1.069 MB / 1.397 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.8147, allocations: 11.94 kB / 1.397 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.8147, allocations: 0 / 1.397 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.8147, allocations: 7.984 kB / 1.397 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.8177, allocations: 1.963 MB / 1.399 GB, free: 9.832 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8177, allocations: 0 / 1.399 GB, free: 9.832 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.8183, allocations: 143.8 kB / 1.399 GB, free: 9.691 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.8187, allocations: 76.78 kB / 1.399 GB, free: 9.613 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.8188, allocations: 23.98 kB / 1.399 GB, free: 9.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.8206, allocations: 1.666 MB / 1.401 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8206, allocations: 4.031 kB / 1.401 GB, free: 7.773 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.8225, allocations: 1.002 MB / 1.402 GB, free: 6.754 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.8228, allocations: 272.2 kB / 1.402 GB, free: 6.469 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8229, allocations: 20 kB / 1.402 GB, free: 6.449 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.8236, allocations: 66.03 kB / 1.402 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.8237, allocations: 72.91 kB / 1.402 GB, free: 6.312 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.8238, allocations: 31.97 kB / 1.402 GB, free: 6.281 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005173/0.8243, allocations: 455 kB / 1.402 GB, free: 5.84 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.713e-06/0.8243, allocations: 4 kB / 1.402 GB, free: 5.836 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006932/0.825, allocations: 323.1 kB / 1.403 GB, free: 5.52 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003766/0.8288, allocations: 2.062 MB / 1.405 GB, free: 3.621 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.8302, allocations: 0.7885 MB / 1.406 GB, free: 2.816 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8303, allocations: 4 kB / 1.406 GB, free: 2.812 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008842/0.8312, allocations: 0.5158 MB / 1.406 GB, free: 2.289 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.8323, allocations: 309.3 kB / 1.406 GB, free: 2.008 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009119/0.8414, allocations: 6.204 MB / 1.412 GB, free: 11.69 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.842, allocations: 1.019 MB / 1.413 GB, free: 10.64 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006655/0.8427, allocations: 262.7 kB / 1.414 GB, free: 10.38 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.8432, allocations: 371.3 kB / 1.414 GB, free: 10.01 MB / 1.139 GB Notification: Performance of SimCode: time 2.61e-07/0.8432, allocations: 0 / 1.414 GB, free: 10.01 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4212/1.264, allocations: 21.56 MB / 1.435 GB, free: 4.758 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.11/27.37, allocations: 6.484 kB / 1.435 GB, free: 4.754 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)