Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.7284/0.7284, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.0009878/0.0009879, allocations: 178.3 kB / 187.3 MB, free: 11.89 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.363/1.363, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008825/0.0008825, allocations: 96.84 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 278.5 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.557e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4305, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.846/4.277, allocations: 1.691 GB / 2.456 GB, free: 51.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/4.277, allocations: 102.3 kB / 2.456 GB, free: 51.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5537/4.831, allocations: 58.76 MB / 2.513 GB, free: 235.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/4.831, allocations: 0 / 2.513 GB, free: 235.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.476e-05/4.831, allocations: 22.91 kB / 2.513 GB, free: 235.1 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.001784/4.833, allocations: 1.07 MB / 2.514 GB, free: 234.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/4.833, allocations: 9.312 kB / 2.514 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/4.833, allocations: 124.1 kB / 2.514 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/4.834, allocations: 185.3 kB / 2.514 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/4.835, allocations: 0.6051 MB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/4.835, allocations: 58.31 kB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/4.835, allocations: 75.91 kB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/4.837, allocations: 0.8142 MB / 2.516 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/4.837, allocations: 2.781 kB / 2.516 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/4.837, allocations: 37.12 kB / 2.516 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/4.837, allocations: 19 kB / 2.516 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/4.838, allocations: 1.016 MB / 2.517 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/4.842, allocations: 2.378 MB / 2.519 GB, free: 233.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/4.844, allocations: 0.6853 MB / 2.52 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/4.844, allocations: 257.1 kB / 2.52 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.009e-05/4.844, allocations: 26.03 kB / 2.52 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006379/4.845, allocations: 408.1 kB / 2.521 GB, free: 233.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 4.198e-06/4.845, allocations: 3.328 kB / 2.521 GB, free: 233.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.001564/4.846, allocations: 0.6688 MB / 2.521 GB, free: 233.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/4.846, allocations: 248.3 kB / 2.522 GB, free: 232.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/4.847, allocations: 0.5774 MB / 2.522 GB, free: 232.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/4.847, allocations: 41.61 kB / 2.522 GB, free: 232.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/4.847, allocations: 377.8 kB / 2.522 GB, free: 232.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/4.848, allocations: 230.2 kB / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/4.848, allocations: 13.31 kB / 2.523 GB, free: 232.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/4.848, allocations: 384.7 kB / 2.523 GB, free: 232.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/4.848, allocations: 197.6 kB / 2.523 GB, free: 232.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/4.849, allocations: 300.8 kB / 2.524 GB, free: 232 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/4.849, allocations: 243.7 kB / 2.524 GB, free: 232 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/4.849, allocations: 0.5625 kB / 2.524 GB, free: 232 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001699/4.851, allocations: 0.6734 MB / 2.524 GB, free: 231.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/4.851, allocations: 6.75 kB / 2.524 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/4.851, allocations: 1 kB / 2.524 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/4.852, allocations: 87.36 kB / 2.525 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/4.852, allocations: 135 kB / 2.525 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/4.854, allocations: 1.514 MB / 2.526 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/4.855, allocations: 87.06 kB / 2.526 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/4.855, allocations: 28.17 kB / 2.526 GB, free: 230.6 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 (74): * Single equations (assignments): 73 * 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.000179/4.855, allocations: 139.1 kB / 2.526 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/4.855, allocations: 81.66 kB / 2.526 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/4.857, allocations: 0.9303 MB / 2.527 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/4.857, allocations: 7.812 kB / 2.527 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/4.857, allocations: 0 / 2.527 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/4.857, allocations: 10.73 kB / 2.527 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/4.858, allocations: 0.8463 MB / 2.528 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/4.858, allocations: 2.656 kB / 2.528 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/4.858, allocations: 140.8 kB / 2.528 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/4.859, allocations: 90.12 kB / 2.528 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/4.859, allocations: 19.75 kB / 2.528 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/4.86, allocations: 1.545 MB / 2.53 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/4.86, allocations: 0 / 2.53 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/4.862, allocations: 0.7809 MB / 2.531 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/4.862, allocations: 277 kB / 2.531 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/4.862, allocations: 25.58 kB / 2.531 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/4.863, allocations: 61.56 kB / 2.531 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/4.863, allocations: 58.45 kB / 2.531 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/4.863, allocations: 30.84 kB / 2.531 GB, free: 228.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004843/4.863, allocations: 481.6 kB / 2.532 GB, free: 228.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/4.863, allocations: 0 / 2.532 GB, free: 228.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001047/4.864, allocations: 350.7 kB / 2.532 GB, free: 228.4 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003829/4.868, allocations: 2.26 MB / 2.534 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001376/4.869, allocations: 0.668 MB / 2.535 GB, free: 227.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/4.87, allocations: 0 / 2.535 GB, free: 227.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/4.87, allocations: 464 kB / 2.535 GB, free: 227.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/4.872, allocations: 241 kB / 2.535 GB, free: 227.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/4.875, allocations: 1.524 MB / 2.537 GB, free: 227 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/4.876, allocations: 1.016 MB / 2.538 GB, free: 226.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008067/4.877, allocations: 244.7 kB / 2.538 GB, free: 226.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/4.877, allocations: 343.2 kB / 2.539 GB, free: 226.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/4.877, allocations: 2.156 kB / 2.539 GB, free: 226.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/4.927, allocations: 30.68 MB / 2.569 GB, free: 218.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/4.927, allocations: 280.7 kB / 2.569 GB, free: 218.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/7.76, allocations: 3.094 kB / 2.569 GB, free: 218.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)