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.8543/0.8543, allocations: 143.3 MB / 158.3 MB, free: 5.762 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.001794/0.001794, allocations: 179.7 kB / 191.5 MB, free: 5.754 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.619/1.619, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.0009845/0.0009845, allocations: 96.3 kB / 0.5187 GB, free: 1.102 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001949/0.001949, allocations: 270.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005081, allocations: 14.41 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1914, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.759/3.95, allocations: 1.691 GB / 2.465 GB, free: 112.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/3.951, allocations: 101 kB / 2.465 GB, free: 112.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1224/4.073, allocations: 59.08 MB / 2.523 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.276e-06/4.073, allocations: 0 / 2.523 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.365e-05/4.073, allocations: 28 kB / 2.523 GB, free: 53.43 MB / 0.7136 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.002486/4.076, allocations: 1.172 MB / 2.524 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/4.076, allocations: 8.031 kB / 2.524 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/4.076, allocations: 126.9 kB / 2.524 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/4.077, allocations: 190.5 kB / 2.524 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/4.078, allocations: 0.6075 MB / 2.525 GB, free: 51.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/4.078, allocations: 58 kB / 2.525 GB, free: 51.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/4.078, allocations: 72 kB / 2.525 GB, free: 51.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/4.08, allocations: 0.8481 MB / 2.526 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/4.08, allocations: 0 / 2.526 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/4.08, allocations: 32 kB / 2.526 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/4.08, allocations: 20 kB / 2.526 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/4.081, allocations: 1.061 MB / 2.527 GB, free: 49.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/4.085, allocations: 2.403 MB / 2.529 GB, free: 46.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/4.086, allocations: 0.7205 MB / 2.53 GB, free: 45.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.984e-05/4.086, allocations: 32.67 kB / 2.53 GB, free: 45.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/4.087, allocations: 419.1 kB / 2.53 GB, free: 45.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=71): time 2.965e-06/4.087, allocations: 4 kB / 2.53 GB, free: 45.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71): time 0.002888/4.089, allocations: 1.081 MB / 2.531 GB, free: 44.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/4.09, allocations: 244 kB / 2.532 GB, free: 44.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/4.09, allocations: 0.5814 MB / 2.532 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/4.091, allocations: 37.7 kB / 2.532 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/4.091, allocations: 376.3 kB / 2.533 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/4.091, allocations: 228.6 kB / 2.533 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/4.091, allocations: 20 kB / 2.533 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001152/4.091, allocations: 378.8 kB / 2.533 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/4.092, allocations: 213.2 kB / 2.533 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/4.092, allocations: 327.6 kB / 2.534 GB, free: 41.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/4.092, allocations: 259.1 kB / 2.534 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/4.092, allocations: 4 kB / 2.534 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001546/4.094, allocations: 0.7197 MB / 2.535 GB, free: 40.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/4.094, allocations: 9.203 kB / 2.535 GB, free: 40.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/4.094, allocations: 3.938 kB / 2.535 GB, free: 40.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/4.095, allocations: 84.83 kB / 2.535 GB, free: 40.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/4.095, allocations: 135.8 kB / 2.535 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/4.097, allocations: 1.529 MB / 2.536 GB, free: 38.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/4.098, allocations: 75.44 kB / 2.537 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/4.098, allocations: 32.05 kB / 2.537 GB, free: 38.85 MB / 0.7136 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 (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.0004596/4.098, allocations: 241.7 kB / 2.537 GB, free: 38.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/4.098, allocations: 83.02 kB / 2.537 GB, free: 38.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/4.1, allocations: 0.9822 MB / 2.538 GB, free: 37.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/4.1, allocations: 8 kB / 2.538 GB, free: 37.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/4.1, allocations: 7.984 kB / 2.538 GB, free: 37.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/4.1, allocations: 3.984 kB / 2.538 GB, free: 37.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/4.101, allocations: 0.8489 MB / 2.539 GB, free: 36.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/4.101, allocations: 4 kB / 2.539 GB, free: 36.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/4.102, allocations: 143.8 kB / 2.539 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/4.102, allocations: 80.78 kB / 2.539 GB, free: 36.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/4.102, allocations: 19.98 kB / 2.539 GB, free: 36.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/4.104, allocations: 1.559 MB / 2.54 GB, free: 34.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/4.104, allocations: 0 / 2.54 GB, free: 34.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/4.105, allocations: 0.8343 MB / 2.541 GB, free: 33.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/4.105, allocations: 275.8 kB / 2.542 GB, free: 33.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/4.106, allocations: 20 kB / 2.542 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/4.106, allocations: 67.94 kB / 2.542 GB, free: 33.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/4.106, allocations: 60.81 kB / 2.542 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/4.106, allocations: 31.98 kB / 2.542 GB, free: 33.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004944/4.107, allocations: 483 kB / 2.542 GB, free: 32.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/4.107, allocations: 0 / 2.542 GB, free: 32.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001107/4.108, allocations: 355.1 kB / 2.543 GB, free: 32.52 MB / 0.7136 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) * Number of clocked states: 0 () * 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.004146/4.112, allocations: 2.34 MB / 2.545 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001552/4.114, allocations: 0.7204 MB / 2.545 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/4.114, allocations: 0 / 2.545 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/4.114, allocations: 492.3 kB / 2.546 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/4.116, allocations: 232.8 kB / 2.546 GB, free: 28.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/4.123, allocations: 4.962 MB / 2.551 GB, free: 23.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/4.124, allocations: 1.015 MB / 2.552 GB, free: 22.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007906/4.125, allocations: 258 kB / 2.552 GB, free: 22.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/4.125, allocations: 343.2 kB / 2.553 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/4.125, allocations: 0 / 2.553 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4464/4.571, allocations: 28.95 MB / 2.581 GB, free: 231.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/4.572, allocations: 299 kB / 2.581 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/7.807, allocations: 3.25 kB / 2.581 GB, free: 231.3 MB / 0.7136 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)