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.8251/0.8251, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001009/0.001009, allocations: 188.2 kB / 182.2 MB, free: 9.438 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.446/1.446, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009805/0.0009805, allocations: 99.78 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 284.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.882e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3848, allocations: 82.76 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.651/4.035, allocations: 1.691 GB / 2.448 GB, free: 99.11 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/4.036, allocations: 87.94 kB / 2.448 GB, free: 99.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1206/4.156, allocations: 57.94 MB / 2.505 GB, free: 40.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/4.156, allocations: 0 / 2.505 GB, free: 40.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.673e-05/4.156, allocations: 24 kB / 2.505 GB, free: 40.82 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.001589/4.158, allocations: 1.058 MB / 2.506 GB, free: 39.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/4.158, allocations: 8.031 kB / 2.506 GB, free: 39.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/4.159, allocations: 186.5 kB / 2.506 GB, free: 39.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/4.16, allocations: 0.6075 MB / 2.507 GB, free: 38.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/4.16, allocations: 31.94 kB / 2.507 GB, free: 38.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/4.16, allocations: 44 kB / 2.507 GB, free: 38.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/4.161, allocations: 0.9679 MB / 2.508 GB, free: 37.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009986/4.162, allocations: 0.7076 MB / 2.508 GB, free: 37.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/4.162, allocations: 3.938 kB / 2.508 GB, free: 37.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/4.162, allocations: 8 kB / 2.508 GB, free: 37.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/4.162, allocations: 20 kB / 2.508 GB, free: 37.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/4.165, allocations: 2.232 MB / 2.51 GB, free: 34.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/4.166, allocations: 0.6356 MB / 2.511 GB, free: 34.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/4.166, allocations: 230.5 kB / 2.511 GB, free: 33.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.485e-05/4.166, allocations: 28.67 kB / 2.511 GB, free: 33.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005169/4.167, allocations: 379.7 kB / 2.512 GB, free: 33.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.456e-06/4.167, allocations: 0 / 2.512 GB, free: 33.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.001401/4.168, allocations: 0.6329 MB / 2.512 GB, free: 32.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/4.168, allocations: 240.1 kB / 2.513 GB, free: 32.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/4.169, allocations: 0.5021 MB / 2.513 GB, free: 32.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/4.169, allocations: 25.7 kB / 2.513 GB, free: 31.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/4.169, allocations: 384.2 kB / 2.513 GB, free: 31.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/4.169, allocations: 216.7 kB / 2.514 GB, free: 31.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/4.169, allocations: 0 / 2.514 GB, free: 31.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/4.169, allocations: 378.8 kB / 2.514 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/4.169, allocations: 177.5 kB / 2.514 GB, free: 30.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/4.17, allocations: 291.5 kB / 2.514 GB, free: 30.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/4.17, allocations: 232.5 kB / 2.515 GB, free: 30.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/4.17, allocations: 0 / 2.515 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001273/4.171, allocations: 0.6329 MB / 2.515 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/4.171, allocations: 5.562 kB / 2.515 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/4.171, allocations: 80 / 2.515 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/4.172, allocations: 96.72 kB / 2.515 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/4.173, allocations: 131.8 kB / 2.515 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/4.174, allocations: 1.461 MB / 2.517 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/4.175, allocations: 59.41 kB / 2.517 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/4.175, allocations: 23.98 kB / 2.517 GB, free: 27.76 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.0001743/4.175, allocations: 124.9 kB / 2.517 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001219/4.176, allocations: 0.6367 MB / 2.518 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/4.176, allocations: 75.16 kB / 2.518 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/4.178, allocations: 0.8674 MB / 2.519 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/4.178, allocations: 11.98 kB / 2.519 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/4.178, allocations: 0 / 2.519 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/4.178, allocations: 3.984 kB / 2.519 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008009/4.179, allocations: 0.7244 MB / 2.519 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/4.179, allocations: 0 / 2.519 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/4.179, allocations: 147.8 kB / 2.52 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/4.18, allocations: 80.78 kB / 2.52 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/4.18, allocations: 11.98 kB / 2.52 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/4.181, allocations: 1.481 MB / 2.521 GB, free: 23.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/4.181, allocations: 8.047 kB / 2.521 GB, free: 23.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/4.182, allocations: 0.7425 MB / 2.522 GB, free: 22.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/4.183, allocations: 263.9 kB / 2.522 GB, free: 22.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/4.183, allocations: 8 kB / 2.522 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/4.183, allocations: 51.94 kB / 2.522 GB, free: 22.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/4.183, allocations: 56.66 kB / 2.522 GB, free: 22.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/4.184, allocations: 31.98 kB / 2.522 GB, free: 22.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004399/4.184, allocations: 406.9 kB / 2.523 GB, free: 21.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/4.184, allocations: 0 / 2.523 GB, free: 21.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009888/4.185, allocations: 319 kB / 2.523 GB, free: 21.5 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.002921/4.188, allocations: 2.264 MB / 2.525 GB, free: 19.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009892/4.189, allocations: 0.6319 MB / 2.526 GB, free: 18.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/4.189, allocations: 0 / 2.526 GB, free: 18.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/4.19, allocations: 444.6 kB / 2.526 GB, free: 18.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/4.191, allocations: 220 kB / 2.526 GB, free: 18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/4.194, allocations: 1.443 MB / 2.528 GB, free: 16.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/4.194, allocations: 1.015 MB / 2.529 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007711/4.195, allocations: 249.6 kB / 2.529 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/4.195, allocations: 335.3 kB / 2.529 GB, free: 14.89 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/4.195, allocations: 0 / 2.529 GB, free: 14.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4498/4.645, allocations: 22.78 MB / 2.552 GB, free: 233.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/4.646, allocations: 230.9 kB / 2.552 GB, free: 233.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/7.441, allocations: 4.734 kB / 2.552 GB, free: 233.3 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)