Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.842/0.842, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 177.1 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009815, allocations: 91.77 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 259.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004178, allocations: 14.66 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.023/4.2, allocations: 1.691 GB / 2.465 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/4.201, allocations: 99.94 kB / 2.465 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.126/4.327, allocations: 58.92 MB / 2.522 GB, free: 50.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.597e-06/4.327, allocations: 3.938 kB / 2.522 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001121/4.327, allocations: 27.94 kB / 2.522 GB, free: 50.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002991/4.33, allocations: 1.168 MB / 2.523 GB, free: 49.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/4.33, allocations: 12.03 kB / 2.523 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003798/4.33, allocations: 122.8 kB / 2.524 GB, free: 48.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/4.332, allocations: 190.5 kB / 2.524 GB, free: 48.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/4.333, allocations: 0.5998 MB / 2.524 GB, free: 48.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/4.333, allocations: 58 kB / 2.524 GB, free: 48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/4.333, allocations: 75.94 kB / 2.524 GB, free: 47.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/4.335, allocations: 0.8325 MB / 2.525 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/4.335, allocations: 0 / 2.525 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/4.335, allocations: 35.98 kB / 2.525 GB, free: 47.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/4.335, allocations: 20 kB / 2.525 GB, free: 47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/4.337, allocations: 1.05 MB / 2.526 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/4.341, allocations: 2.379 MB / 2.529 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/4.342, allocations: 0.7894 MB / 2.529 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.064e-05/4.342, allocations: 32.58 kB / 2.529 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/4.343, allocations: 421.7 kB / 2.53 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.837e-06/4.343, allocations: 0 / 2.53 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002788/4.345, allocations: 1.068 MB / 2.531 GB, free: 41.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/4.345, allocations: 239.9 kB / 2.531 GB, free: 40.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/4.346, allocations: 0.5775 MB / 2.532 GB, free: 40.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/4.346, allocations: 41.7 kB / 2.532 GB, free: 40.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/4.347, allocations: 364.3 kB / 2.532 GB, free: 39.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/4.347, allocations: 236.6 kB / 2.532 GB, free: 39.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/4.347, allocations: 12 kB / 2.532 GB, free: 39.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/4.347, allocations: 378.8 kB / 2.533 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/4.347, allocations: 213.2 kB / 2.533 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/4.348, allocations: 323.6 kB / 2.533 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/4.348, allocations: 251.1 kB / 2.533 GB, free: 38.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/4.348, allocations: 0 / 2.533 GB, free: 38.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001531/4.35, allocations: 0.7042 MB / 2.534 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/4.35, allocations: 8 kB / 2.534 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/4.35, allocations: 0 / 2.534 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/4.35, allocations: 92.72 kB / 2.534 GB, free: 37.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/4.351, allocations: 127.9 kB / 2.534 GB, free: 37.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/4.353, allocations: 1.532 MB / 2.536 GB, free: 35.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/4.354, allocations: 79.42 kB / 2.536 GB, free: 35.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/4.354, allocations: 27.98 kB / 2.536 GB, free: 35.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004719/4.354, allocations: 248.7 kB / 2.536 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/4.354, allocations: 75.06 kB / 2.536 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/4.356, allocations: 0.9741 MB / 2.537 GB, free: 34.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/4.356, allocations: 8 kB / 2.537 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/4.356, allocations: 0 / 2.537 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/4.356, allocations: 8.078 kB / 2.537 GB, free: 34.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/4.359, allocations: 1.861 MB / 2.539 GB, free: 32.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/4.359, allocations: 4 kB / 2.539 GB, free: 32.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/4.36, allocations: 139.8 kB / 2.539 GB, free: 32.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/4.361, allocations: 84.77 kB / 2.539 GB, free: 32.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/4.361, allocations: 23.98 kB / 2.539 GB, free: 32.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/4.362, allocations: 1.556 MB / 2.541 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/4.362, allocations: 64 / 2.541 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/4.364, allocations: 0.9023 MB / 2.542 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/4.364, allocations: 275.8 kB / 2.542 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/4.364, allocations: 16 kB / 2.542 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/4.365, allocations: 63.95 kB / 2.542 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/4.365, allocations: 60.91 kB / 2.542 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/4.365, allocations: 27.98 kB / 2.542 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006455/4.366, allocations: 479 kB / 2.543 GB, free: 28.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/4.366, allocations: 0 / 2.543 GB, free: 28.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00134/4.367, allocations: 343.2 kB / 2.543 GB, free: 28.33 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004062/4.371, allocations: 2.414 MB / 2.545 GB, free: 26.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00141/4.373, allocations: 0.7088 MB / 2.546 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/4.373, allocations: 0 / 2.546 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/4.374, allocations: 488.3 kB / 2.546 GB, free: 24.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/4.375, allocations: 243.8 kB / 2.547 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/4.384, allocations: 4.893 MB / 2.551 GB, free: 19.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/4.384, allocations: 1.01 MB / 2.552 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009212/4.385, allocations: 257.9 kB / 2.553 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/4.386, allocations: 339.3 kB / 2.553 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/4.386, allocations: 4 kB / 2.553 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4483/4.834, allocations: 28.82 MB / 2.581 GB, free: 229.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/4.834, allocations: 296.2 kB / 2.581 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/7.988, allocations: 0 / 2.581 GB, free: 228.9 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)