Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_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.8563/0.8563, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001329/0.001329, allocations: 180.9 kB / 182.2 MB, free: 9.457 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.532/1.532, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009779/0.0009779, allocations: 99.95 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 279.7 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.736e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.454, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.114/4.568, allocations: 1.691 GB / 2.449 GB, free: 94.52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/4.568, allocations: 87.94 kB / 2.449 GB, free: 94.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1679/4.736, allocations: 79.66 MB / 2.527 GB, free: 14.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.376e-06/4.736, allocations: 0 / 2.527 GB, free: 14.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.603e-05/4.736, allocations: 28 kB / 2.527 GB, free: 14.46 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001959/4.738, allocations: 1.266 MB / 2.528 GB, free: 13.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/4.738, allocations: 12.03 kB / 2.528 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/4.739, allocations: 226.1 kB / 2.528 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/4.74, allocations: 0.7055 MB / 2.529 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/4.74, allocations: 40 kB / 2.529 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/4.74, allocations: 64 kB / 2.529 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/4.742, allocations: 1.129 MB / 2.53 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/4.743, allocations: 0.9263 MB / 2.531 GB, free: 9.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/4.743, allocations: 4 kB / 2.531 GB, free: 9.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/4.743, allocations: 7.984 kB / 2.531 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/4.743, allocations: 31.95 kB / 2.531 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/4.747, allocations: 2.849 MB / 2.534 GB, free: 6.984 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/4.748, allocations: 0.6928 MB / 2.534 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/4.748, allocations: 251.2 kB / 2.535 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.801e-05/4.748, allocations: 32.81 kB / 2.535 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005731/4.749, allocations: 407.6 kB / 2.535 GB, free: 5.578 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.437e-06/4.749, allocations: 0 / 2.535 GB, free: 5.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.001559/4.751, allocations: 0.6847 MB / 2.536 GB, free: 4.883 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/4.751, allocations: 244.1 kB / 2.536 GB, free: 4.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/4.751, allocations: 0.5465 MB / 2.536 GB, free: 4.039 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/4.751, allocations: 33.64 kB / 2.536 GB, free: 4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/4.752, allocations: 0.5033 MB / 2.537 GB, free: 3.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/4.752, allocations: 248.3 kB / 2.537 GB, free: 3.242 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/4.752, allocations: 0 / 2.537 GB, free: 3.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/4.752, allocations: 386.7 kB / 2.538 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/4.752, allocations: 209.5 kB / 2.538 GB, free: 2.648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/4.753, allocations: 311.5 kB / 2.538 GB, free: 2.316 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/4.753, allocations: 252.4 kB / 2.538 GB, free: 2.074 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/4.753, allocations: 0 / 2.538 GB, free: 2.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001287/4.754, allocations: 0.6953 MB / 2.539 GB, free: 1.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/4.754, allocations: 4 kB / 2.539 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/4.754, allocations: 3.984 kB / 2.539 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/4.755, allocations: 84.84 kB / 2.539 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/4.756, allocations: 147.8 kB / 2.539 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.437/5.193, allocations: 1.446 MB / 2.541 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/5.194, allocations: 70.12 kB / 2.541 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/5.194, allocations: 28.62 kB / 2.541 GB, free: 231 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 (83): * Single equations (assignments): 82 * 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.0002195/5.194, allocations: 117.9 kB / 2.541 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001849/5.196, allocations: 0.6843 MB / 2.542 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/5.196, allocations: 82.66 kB / 2.542 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/5.198, allocations: 0.9279 MB / 2.542 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/5.199, allocations: 15.91 kB / 2.543 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/5.199, allocations: 0 / 2.543 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/5.199, allocations: 5.641 kB / 2.543 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/5.201, allocations: 0.8426 MB / 2.543 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/5.201, allocations: 0 / 2.543 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/5.201, allocations: 155.5 kB / 2.543 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005683/5.202, allocations: 81.8 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/5.202, allocations: 16.8 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/5.204, allocations: 1.48 MB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/5.204, allocations: 1 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/5.206, allocations: 0.7915 MB / 2.546 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/5.207, allocations: 287.8 kB / 2.546 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/5.207, allocations: 4.656 kB / 2.546 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/5.208, allocations: 53.83 kB / 2.546 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/5.208, allocations: 60.22 kB / 2.546 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/5.208, allocations: 30.62 kB / 2.546 GB, free: 229.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008143/5.209, allocations: 448.4 kB / 2.547 GB, free: 229 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.209, allocations: 0 / 2.547 GB, free: 229 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001498/5.21, allocations: 383.1 kB / 2.547 GB, free: 229 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 (89): * Single equations (assignments): 86 * 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.003897/5.214, allocations: 2.326 MB / 2.549 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001481/5.216, allocations: 0.6817 MB / 2.55 GB, free: 228.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/5.216, allocations: 4.938 kB / 2.55 GB, free: 228.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/5.216, allocations: 462.6 kB / 2.55 GB, free: 228 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/5.218, allocations: 227.4 kB / 2.551 GB, free: 228 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/5.223, allocations: 1.711 MB / 2.552 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/5.224, allocations: 1.11 MB / 2.553 GB, free: 226.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009439/5.225, allocations: 267 kB / 2.554 GB, free: 226.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/5.225, allocations: 449.1 kB / 2.554 GB, free: 226.8 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/5.225, allocations: 2.688 kB / 2.554 GB, free: 226.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04985/5.275, allocations: 24.63 MB / 2.578 GB, free: 225.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/5.275, allocations: 207.7 kB / 2.578 GB, free: 224.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/8.096, allocations: 3.797 kB / 2.578 GB, free: 224.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)