Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001004/0.001004, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007583/0.007583, allocations: 170 kB / 16.26 MB, free: 6.613 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 274.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9343/0.9343, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004318, allocations: 11.06 kB / 0.5988 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004531/0.1493, allocations: 4.086 MB / 0.6892 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4677/0.617, allocations: 146.8 MB / 0.8325 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.6176, allocations: 18.88 kB / 0.8326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.6181, allocations: 139.9 kB / 0.8327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.6193, allocations: 457.3 kB / 0.8331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.6211, allocations: 0.7569 MB / 0.8339 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.6224, allocations: 1.282 MB / 0.8351 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008401/0.6232, allocations: 0.6161 MB / 0.8357 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.6237, allocations: 364.7 kB / 0.8361 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.6242, allocations: 413 kB / 0.8365 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.6243, allocations: 38.41 kB / 0.8365 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.625, allocations: 382.6 kB / 0.8369 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.6252, allocations: 207 kB / 0.8371 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.6256, allocations: 484.9 kB / 0.8375 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.6269, allocations: 1.548 MB / 0.839 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6269, allocations: 0 / 0.839 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6269, allocations: 2.375 kB / 0.839 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.6269, allocations: 0 / 0.839 GB, free: 8.402 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002188/0.6291, allocations: 1.274 MB / 0.8403 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6291, allocations: 9.719 kB / 0.8403 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.6293, allocations: 140.5 kB / 0.8404 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008542/0.6302, allocations: 209.4 kB / 0.8406 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009815/0.6312, allocations: 0.7627 MB / 0.8414 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.6312, allocations: 74.56 kB / 0.8414 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6313, allocations: 84.09 kB / 0.8415 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.6329, allocations: 0.9868 MB / 0.8425 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.633, allocations: 2.25 kB / 0.8425 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.633, allocations: 36.16 kB / 0.8425 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.6331, allocations: 21.69 kB / 0.8425 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.6348, allocations: 1.168 MB / 0.8437 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.6387, allocations: 2.744 MB / 0.8464 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.6406, allocations: 0.9809 MB / 0.8473 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.6411, allocations: 337.4 kB / 0.8476 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/0.6412, allocations: 32.28 kB / 0.8477 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008753/0.6421, allocations: 0.5322 MB / 0.8482 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.364e-06/0.6421, allocations: 0 / 0.8482 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003054/0.6452, allocations: 1.319 MB / 0.8495 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.6453, allocations: 188.9 kB / 0.8497 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.6461, allocations: 0.6495 MB / 0.8503 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.6462, allocations: 43.61 kB / 0.8503 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.6465, allocations: 406 kB / 0.8507 GB, free: 436 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.6467, allocations: 291.5 kB / 0.851 GB, free: 176 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.6468, allocations: 63.34 kB / 0.8511 GB, free: 128 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.647, allocations: 389.6 kB / 0.8514 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.6475, allocations: 274.2 kB / 0.8517 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.6481, allocations: 395.1 kB / 0.8521 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.6492, allocations: 0.6364 MB / 0.8527 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6492, allocations: 2.875 kB / 0.8527 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001871/0.6511, allocations: 0.8676 MB / 0.8535 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6511, allocations: 5.344 kB / 0.8536 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6511, allocations: 0 / 0.8536 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/0.6517, allocations: 85.2 kB / 0.8536 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.6524, allocations: 173 kB / 0.8538 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.6543, allocations: 1.519 MB / 0.8553 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.6551, allocations: 119.5 kB / 0.8554 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.6552, allocations: 37.69 kB / 0.8554 GB, free: 12.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0004654/0.6557, allocations: 282.6 kB / 0.8557 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6558, allocations: 84.5 kB / 0.8558 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.6584, allocations: 1.2 MB / 0.857 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.6584, allocations: 22.38 kB / 0.857 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6584, allocations: 0 / 0.857 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6584, allocations: 3.984 kB / 0.857 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.6618, allocations: 2.116 MB / 0.859 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.6618, allocations: 0 / 0.859 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.6624, allocations: 165.2 kB / 0.8592 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005249/0.663, allocations: 84.2 kB / 0.8593 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-05/0.663, allocations: 31.23 kB / 0.8593 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.6648, allocations: 1.559 MB / 0.8608 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6648, allocations: 4.047 kB / 0.8608 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.6669, allocations: 1.096 MB / 0.8619 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.6673, allocations: 303 kB / 0.8622 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.6674, allocations: 28.02 kB / 0.8622 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.6682, allocations: 85.25 kB / 0.8623 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.6683, allocations: 83.31 kB / 0.8624 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.6684, allocations: 40.84 kB / 0.8624 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006029/0.669, allocations: 477.8 kB / 0.8629 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.669, allocations: 0 / 0.8629 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009285/0.67, allocations: 332.4 kB / 0.8632 GB, free: 7.648 MB / 0.5762 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.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 (106): * Single equations (assignments): 99 * 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.00368/0.6737, allocations: 2.174 MB / 0.8653 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.6755, allocations: 0.8748 MB / 0.8662 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6756, allocations: 0 / 0.8662 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.6766, allocations: 0.5668 MB / 0.8667 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6779, allocations: 271.4 kB / 0.867 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.6916, allocations: 7.419 MB / 0.8742 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.6923, allocations: 1.043 MB / 0.8753 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009671/0.6933, allocations: 282.9 kB / 0.8755 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.6939, allocations: 411.3 kB / 0.8759 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.6939, allocations: 0 / 0.8759 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04401/0.7379, allocations: 21.19 MB / 0.8966 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.7382, allocations: 342.8 kB / 0.8969 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.013, allocations: 0 / 0.8969 GB, free: 6.496 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)