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.7007/0.7007, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009976/0.0009976, allocations: 177 kB / 187.2 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.259/1.259, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008283/0.0008283, allocations: 95.73 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 272.5 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.142e-05, allocations: 0 / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3683, allocations: 82.78 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.155/3.523, allocations: 1.692 GB / 2.456 GB, free: 69.48 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/3.524, allocations: 87.95 kB / 2.456 GB, free: 69.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5124/4.036, allocations: 80.49 MB / 2.535 GB, free: 232.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/4.036, allocations: 0 / 2.535 GB, free: 232.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001035/4.036, allocations: 36.12 kB / 2.535 GB, free: 232.7 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.002034/4.038, allocations: 1.27 MB / 2.536 GB, free: 232 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/4.038, allocations: 9.031 kB / 2.536 GB, free: 232 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/4.039, allocations: 179 kB / 2.536 GB, free: 232 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/4.04, allocations: 215.7 kB / 2.537 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/4.041, allocations: 0.7157 MB / 2.537 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/4.041, allocations: 87.97 kB / 2.537 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/4.041, allocations: 115 kB / 2.537 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/4.043, allocations: 1.092 MB / 2.539 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/4.043, allocations: 0 / 2.539 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/4.043, allocations: 46.78 kB / 2.539 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/4.043, allocations: 27.12 kB / 2.539 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/4.044, allocations: 1.181 MB / 2.54 GB, free: 231.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/4.048, allocations: 3.072 MB / 2.543 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/4.049, allocations: 0.743 MB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/4.05, allocations: 281.2 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-05/4.05, allocations: 32.94 kB / 2.544 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/4.05, allocations: 424.4 kB / 2.544 GB, free: 230.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 2.955e-06/4.05, allocations: 2.75 kB / 2.544 GB, free: 230.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.001463/4.052, allocations: 0.7414 MB / 2.545 GB, free: 230.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/4.052, allocations: 241.7 kB / 2.545 GB, free: 230.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/4.053, allocations: 0.6615 MB / 2.546 GB, free: 230 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/4.053, allocations: 40.58 kB / 2.546 GB, free: 230 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/4.053, allocations: 0.4962 MB / 2.546 GB, free: 229.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/4.053, allocations: 253.1 kB / 2.547 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/4.053, allocations: 14.38 kB / 2.547 GB, free: 229.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/4.053, allocations: 335.5 kB / 2.547 GB, free: 229.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/4.053, allocations: 217.9 kB / 2.547 GB, free: 229.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/4.054, allocations: 335.3 kB / 2.547 GB, free: 229.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/4.054, allocations: 269.9 kB / 2.548 GB, free: 229.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/4.054, allocations: 0 / 2.548 GB, free: 229.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001335/4.056, allocations: 0.7493 MB / 2.548 GB, free: 229.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/4.056, allocations: 7.156 kB / 2.548 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/4.056, allocations: 3.172 kB / 2.548 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/4.056, allocations: 87.67 kB / 2.549 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/4.057, allocations: 147.4 kB / 2.549 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/4.058, allocations: 1.516 MB / 2.55 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/4.059, allocations: 96.77 kB / 2.55 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/4.059, allocations: 28.41 kB / 2.55 GB, free: 227.7 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.0001541/4.059, allocations: 146.5 kB / 2.55 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/4.059, allocations: 93.69 kB / 2.55 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/4.061, allocations: 0.9964 MB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/4.061, allocations: 11.66 kB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/4.061, allocations: 0 / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/4.061, allocations: 3.375 kB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/4.062, allocations: 1.001 MB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/4.062, allocations: 2.531 kB / 2.552 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/4.063, allocations: 155.2 kB / 2.553 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/4.063, allocations: 78.09 kB / 2.553 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/4.063, allocations: 35.66 kB / 2.553 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/4.065, allocations: 1.541 MB / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/4.065, allocations: 0 / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/4.066, allocations: 0.8483 MB / 2.555 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/4.066, allocations: 296.6 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/4.066, allocations: 17.38 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/4.067, allocations: 65.08 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/4.067, allocations: 61.56 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/4.067, allocations: 36.83 kB / 2.556 GB, free: 225.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000542/4.068, allocations: 0.5323 MB / 2.556 GB, free: 225.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.068, allocations: 0 / 2.556 GB, free: 225.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001047/4.069, allocations: 403.7 kB / 2.556 GB, free: 225.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 (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.003203/4.072, allocations: 2.322 MB / 2.559 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001167/4.073, allocations: 0.7228 MB / 2.559 GB, free: 224.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/4.073, allocations: 1.406 kB / 2.559 GB, free: 224.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006649/4.074, allocations: 493 kB / 2.56 GB, free: 224.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/4.075, allocations: 260.9 kB / 2.56 GB, free: 224.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/4.079, allocations: 1.79 MB / 2.562 GB, free: 224 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/4.079, allocations: 1.112 MB / 2.563 GB, free: 223.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007602/4.08, allocations: 273 kB / 2.563 GB, free: 223.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/4.08, allocations: 456.9 kB / 2.564 GB, free: 223.1 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/4.08, allocations: 0 / 2.564 GB, free: 223.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04815/4.129, allocations: 32.88 MB / 2.596 GB, free: 205.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/4.129, allocations: 252.8 kB / 2.596 GB, free: 204.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/7.058, allocations: 0 / 2.596 GB, free: 204.7 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)