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.9187/0.9187, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001999/0.001999, allocations: 181 kB / 191.5 MB, free: 5.773 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.639/1.639, allocations: 223.2 MB / 447.7 MB, free: 6.492 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.001034/0.001034, allocations: 96.25 kB / 0.5187 GB, free: 2.855 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 272.8 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 12 kB / 0.6929 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3953, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.721/4.116, allocations: 1.691 GB / 2.465 GB, free: 29.52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/4.117, allocations: 89.39 kB / 2.465 GB, free: 29.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5032/4.62, allocations: 63.76 MB / 2.527 GB, free: 242.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/4.62, allocations: 3.938 kB / 2.527 GB, free: 242.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.751e-05/4.62, allocations: 24.09 kB / 2.527 GB, free: 242.5 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.002638/4.623, allocations: 1.168 MB / 2.528 GB, free: 241.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/4.623, allocations: 8.344 kB / 2.528 GB, free: 241.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/4.623, allocations: 138 kB / 2.528 GB, free: 241.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/4.624, allocations: 180.5 kB / 2.528 GB, free: 241.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/4.625, allocations: 0.6095 MB / 2.529 GB, free: 241.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/4.625, allocations: 67.75 kB / 2.529 GB, free: 241.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/4.625, allocations: 78.98 kB / 2.529 GB, free: 241.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/4.627, allocations: 0.8509 MB / 2.53 GB, free: 241.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/4.627, allocations: 3 kB / 2.53 GB, free: 241.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/4.627, allocations: 32.5 kB / 2.53 GB, free: 241.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/4.627, allocations: 19.03 kB / 2.53 GB, free: 241.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/4.628, allocations: 1.071 MB / 2.531 GB, free: 241.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/4.632, allocations: 2.42 MB / 2.534 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/4.633, allocations: 0.8192 MB / 2.534 GB, free: 239.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/4.633, allocations: 27.81 kB / 2.534 GB, free: 239.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006277/4.634, allocations: 428.6 kB / 2.535 GB, free: 239.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.547e-06/4.634, allocations: 0 / 2.535 GB, free: 239.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002727/4.636, allocations: 1.085 MB / 2.536 GB, free: 238.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/4.636, allocations: 244.8 kB / 2.536 GB, free: 238.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/4.637, allocations: 0.5739 MB / 2.537 GB, free: 238.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/4.637, allocations: 49.02 kB / 2.537 GB, free: 238.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/4.637, allocations: 366.1 kB / 2.537 GB, free: 237.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/4.638, allocations: 231.4 kB / 2.537 GB, free: 237.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/4.638, allocations: 12 kB / 2.537 GB, free: 237.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/4.638, allocations: 383.9 kB / 2.538 GB, free: 237.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/4.638, allocations: 218.8 kB / 2.538 GB, free: 237.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/4.639, allocations: 321.9 kB / 2.538 GB, free: 237 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/4.639, allocations: 265.5 kB / 2.538 GB, free: 236.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/4.639, allocations: 0 / 2.538 GB, free: 236.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001507/4.641, allocations: 0.717 MB / 2.539 GB, free: 236.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/4.641, allocations: 3.688 kB / 2.539 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/4.641, allocations: 0 / 2.539 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/4.641, allocations: 82.81 kB / 2.539 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/4.642, allocations: 137.9 kB / 2.539 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/4.644, allocations: 1.55 MB / 2.541 GB, free: 235 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/4.644, allocations: 78.66 kB / 2.541 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/4.644, allocations: 33.31 kB / 2.541 GB, free: 234.9 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 () * 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.0004786/4.645, allocations: 249.6 kB / 2.541 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/4.645, allocations: 74.81 kB / 2.541 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/4.647, allocations: 0.9831 MB / 2.542 GB, free: 234.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/4.647, allocations: 8.875 kB / 2.542 GB, free: 234.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/4.647, allocations: 4 kB / 2.542 GB, free: 234.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/4.647, allocations: 3.984 kB / 2.542 GB, free: 234.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/4.65, allocations: 1.9 MB / 2.544 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/4.65, allocations: 0 / 2.544 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/4.65, allocations: 146.8 kB / 2.544 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/4.651, allocations: 85.91 kB / 2.544 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/4.651, allocations: 19.11 kB / 2.544 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/4.653, allocations: 1.567 MB / 2.546 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/4.653, allocations: 0 / 2.546 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/4.654, allocations: 0.9077 MB / 2.547 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/4.655, allocations: 283.1 kB / 2.547 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/4.655, allocations: 19.67 kB / 2.547 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/4.655, allocations: 71.91 kB / 2.547 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/4.656, allocations: 57.64 kB / 2.547 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/4.656, allocations: 36.66 kB / 2.547 GB, free: 230.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005708/4.656, allocations: 477.9 kB / 2.548 GB, free: 230.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/4.656, allocations: 0 / 2.548 GB, free: 230.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001151/4.657, allocations: 354.3 kB / 2.548 GB, free: 230 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) * 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.003637/4.661, allocations: 2.402 MB / 2.55 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001367/4.662, allocations: 0.7191 MB / 2.551 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/4.662, allocations: 0 / 2.551 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/4.663, allocations: 487.2 kB / 2.551 GB, free: 226.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/4.664, allocations: 240.3 kB / 2.552 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/4.672, allocations: 4.959 MB / 2.557 GB, free: 221.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/4.673, allocations: 1.015 MB / 2.558 GB, free: 220.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000829/4.674, allocations: 246 kB / 2.558 GB, free: 220.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/4.674, allocations: 339.3 kB / 2.558 GB, free: 219.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/4.674, allocations: 0 / 2.558 GB, free: 219.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/4.723, allocations: 29.04 MB / 2.586 GB, free: 191.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/4.723, allocations: 293.2 kB / 2.587 GB, free: 190.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/7.842, allocations: 0 / 2.587 GB, free: 190.8 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)