Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.7081/0.7081, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 183.6 kB / 187.3 MB, free: 11.9 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.336/1.336, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0008841/0.0008842, allocations: 91.59 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 272.6 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.421e-05, allocations: 0 / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4446, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.741/4.186, allocations: 1.691 GB / 2.455 GB, free: 88.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/4.186, allocations: 86.77 kB / 2.455 GB, free: 87.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1263/4.312, allocations: 63.46 MB / 2.517 GB, free: 24.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/4.312, allocations: 0 / 2.517 GB, free: 24.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.682e-05/4.312, allocations: 27.94 kB / 2.517 GB, free: 24.25 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001587/4.314, allocations: 1.055 MB / 2.518 GB, free: 23.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/4.314, allocations: 8.031 kB / 2.518 GB, free: 23.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/4.314, allocations: 126.9 kB / 2.518 GB, free: 23.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007893/4.315, allocations: 186.5 kB / 2.519 GB, free: 22.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/4.316, allocations: 0.6037 MB / 2.519 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/4.316, allocations: 58 kB / 2.519 GB, free: 22.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/4.316, allocations: 79.94 kB / 2.519 GB, free: 22.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/4.317, allocations: 0.821 MB / 2.52 GB, free: 21.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/4.317, allocations: 0 / 2.52 GB, free: 21.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/4.317, allocations: 32 kB / 2.52 GB, free: 21.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/4.317, allocations: 23.94 kB / 2.52 GB, free: 21.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/4.318, allocations: 1.019 MB / 2.521 GB, free: 20.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/4.321, allocations: 2.438 MB / 2.524 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/4.322, allocations: 0.763 MB / 2.524 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/4.322, allocations: 254.5 kB / 2.525 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.067e-05/4.322, allocations: 32.58 kB / 2.525 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/4.323, allocations: 409.8 kB / 2.525 GB, free: 16.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/4.323, allocations: 0 / 2.525 GB, free: 16.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001379/4.324, allocations: 0.6756 MB / 2.526 GB, free: 15.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/4.324, allocations: 239.9 kB / 2.526 GB, free: 15.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/4.325, allocations: 0.5776 MB / 2.526 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/4.325, allocations: 41.7 kB / 2.526 GB, free: 14.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/4.325, allocations: 368.3 kB / 2.527 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/4.325, allocations: 220.7 kB / 2.527 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/4.325, allocations: 16 kB / 2.527 GB, free: 13.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/4.326, allocations: 382.8 kB / 2.527 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/4.326, allocations: 197.5 kB / 2.528 GB, free: 13.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/4.326, allocations: 305 kB / 2.528 GB, free: 12.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/4.327, allocations: 246 kB / 2.528 GB, free: 12.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/4.327, allocations: 0 / 2.528 GB, free: 12.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001237/4.328, allocations: 0.6797 MB / 2.529 GB, free: 12.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/4.328, allocations: 7.953 kB / 2.529 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/4.328, allocations: 0 / 2.529 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/4.328, allocations: 88.83 kB / 2.529 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/4.329, allocations: 127.8 kB / 2.529 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/4.331, allocations: 1.532 MB / 2.53 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/4.331, allocations: 83.38 kB / 2.531 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/4.331, allocations: 23.98 kB / 2.531 GB, free: 10.05 MB / 0.698 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 () * 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.0001368/4.331, allocations: 142.8 kB / 2.531 GB, free: 9.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/4.331, allocations: 83.08 kB / 2.531 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/4.333, allocations: 0.9366 MB / 2.532 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/4.333, allocations: 11.94 kB / 2.532 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/4.333, allocations: 96 / 2.532 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/4.333, allocations: 7.969 kB / 2.532 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/4.336, allocations: 1.843 MB / 2.534 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/4.336, allocations: 3.984 kB / 2.534 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/4.336, allocations: 139.8 kB / 2.534 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/4.337, allocations: 92.72 kB / 2.534 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/4.337, allocations: 19.98 kB / 2.534 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/4.338, allocations: 1.552 MB / 2.535 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/4.338, allocations: 0 / 2.535 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/4.339, allocations: 0.8533 MB / 2.536 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/4.34, allocations: 279.8 kB / 2.536 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/4.34, allocations: 20 kB / 2.536 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/4.34, allocations: 59.95 kB / 2.536 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/4.34, allocations: 60.69 kB / 2.537 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/4.341, allocations: 31.98 kB / 2.537 GB, free: 3.676 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004853/4.341, allocations: 475.1 kB / 2.537 GB, free: 3.219 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.341, allocations: 3.938 kB / 2.537 GB, free: 3.215 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009895/4.342, allocations: 359 kB / 2.537 GB, free: 2.863 MB / 0.698 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) * 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.003036/4.345, allocations: 2.313 MB / 2.54 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.3658/4.711, allocations: 0.6691 MB / 2.54 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/4.711, allocations: 1.406 kB / 2.54 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/4.712, allocations: 463 kB / 2.541 GB, free: 231.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/4.713, allocations: 236 kB / 2.541 GB, free: 231.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/4.717, allocations: 1.528 MB / 2.542 GB, free: 231.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/4.718, allocations: 1.018 MB / 2.543 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008225/4.719, allocations: 253.5 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/4.719, allocations: 341.1 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/4.719, allocations: 3.562 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/4.773, allocations: 30.74 MB / 2.574 GB, free: 229.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/4.773, allocations: 241.8 kB / 2.574 GB, free: 228.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/7.614, allocations: 2.625 kB / 2.574 GB, free: 228.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)