Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9637/0.9637, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004382, allocations: 8.812 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.586, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006374/0.5924, allocations: 3.478 MB / 0.5864 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.238/0.8304, allocations: 127.4 MB / 0.7108 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.8323, allocations: 15.94 kB / 0.7108 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007409/0.833, allocations: 75.28 kB / 0.7109 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.8358, allocations: 457.5 kB / 0.7113 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.8387, allocations: 0.5894 MB / 0.7119 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.8412, allocations: 0.7286 MB / 0.7126 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.8423, allocations: 471 kB / 0.713 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000895/0.8432, allocations: 290.7 kB / 0.7133 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.8438, allocations: 282.5 kB / 0.7136 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.8439, allocations: 20 kB / 0.7136 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.845, allocations: 307.6 kB / 0.7139 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.8453, allocations: 171.3 kB / 0.7141 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.8456, allocations: 173.2 kB / 0.7142 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.8475, allocations: 1.056 MB / 0.7153 GB, free: 8.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8475, allocations: 0 / 0.7153 GB, free: 8.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.906e-06/0.8475, allocations: 0 / 0.7153 GB, free: 8.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.8475, allocations: 0 / 0.7153 GB, free: 8.785 MB / 0.545 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.002854/0.8504, allocations: 1.131 MB / 0.7164 GB, free: 7.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.8505, allocations: 11.97 kB / 0.7164 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/0.8508, allocations: 130.9 kB / 0.7165 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.8521, allocations: 186.5 kB / 0.7167 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.8538, allocations: 0.6759 MB / 0.7173 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.8539, allocations: 62 kB / 0.7174 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.8541, allocations: 76 kB / 0.7175 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.8562, allocations: 0.848 MB / 0.7183 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.8562, allocations: 0 / 0.7183 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.8564, allocations: 32 kB / 0.7183 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.8564, allocations: 20 kB / 0.7183 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.8588, allocations: 1.061 MB / 0.7194 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005624/0.8644, allocations: 2.371 MB / 0.7217 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.8663, allocations: 0.7149 MB / 0.7224 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.8664, allocations: 24.69 kB / 0.7224 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.8675, allocations: 423.1 kB / 0.7228 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=71): time 3.155e-06/0.8675, allocations: 0 / 0.7228 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of matching and sorting (n=71): time 0.00395/0.8714, allocations: 1.073 MB / 0.7239 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.8716, allocations: 196.5 kB / 0.7241 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.8727, allocations: 0.5823 MB / 0.7246 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/0.8728, allocations: 41.7 kB / 0.7247 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.8732, allocations: 368.2 kB / 0.725 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.8735, allocations: 232.6 kB / 0.7252 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.8736, allocations: 16 kB / 0.7253 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8738, allocations: 374.8 kB / 0.7256 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/0.8744, allocations: 217.2 kB / 0.7258 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/0.8751, allocations: 314.8 kB / 0.7261 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.8759, allocations: 267.1 kB / 0.7264 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8759, allocations: 0 / 0.7264 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002351/0.8782, allocations: 0.7159 MB / 0.7271 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.8783, allocations: 11.94 kB / 0.7271 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8783, allocations: 0 / 0.7271 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.8791, allocations: 80.81 kB / 0.7272 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/0.8799, allocations: 139.8 kB / 0.7273 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.8825, allocations: 1.542 MB / 0.7288 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/0.8834, allocations: 88.89 kB / 0.7289 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.8835, allocations: 23.98 kB / 0.7289 GB, free: 10.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (75): * Single equations (assignments): 74 * 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.0005943/0.8841, allocations: 245.7 kB / 0.7291 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.8843, allocations: 83.02 kB / 0.7292 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.8874, allocations: 0.9742 MB / 0.7302 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.8874, allocations: 8 kB / 0.7302 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8874, allocations: 0 / 0.7302 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.8874, allocations: 3.984 kB / 0.7302 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.8888, allocations: 0.8217 MB / 0.731 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.8888, allocations: 0 / 0.731 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.8896, allocations: 139.8 kB / 0.7311 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006546/0.8903, allocations: 84.77 kB / 0.7312 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.8904, allocations: 23.98 kB / 0.7312 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.8929, allocations: 1.56 MB / 0.7327 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8929, allocations: 0 / 0.7327 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.8953, allocations: 0.8342 MB / 0.7336 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.8959, allocations: 267.8 kB / 0.7338 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.8961, allocations: 20 kB / 0.7338 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.8968, allocations: 72.55 kB / 0.7339 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.897, allocations: 52.92 kB / 0.734 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.8971, allocations: 31.98 kB / 0.734 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007922/0.8979, allocations: 427 kB / 0.7344 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8979, allocations: 0 / 0.7344 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001275/0.8992, allocations: 287.2 kB / 0.7347 GB, free: 4.141 MB / 0.5606 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.00444/0.9037, allocations: 1.857 MB / 0.7365 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.9057, allocations: 0.7122 MB / 0.7372 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9058, allocations: 0 / 0.7372 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.9069, allocations: 492.2 kB / 0.7376 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.9087, allocations: 237.5 kB / 0.7379 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.9225, allocations: 5.016 MB / 0.7428 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.9237, allocations: 1.011 MB / 0.7438 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001348/0.925, allocations: 246 kB / 0.744 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007088/0.9257, allocations: 346.3 kB / 0.7443 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of SimCode: time 1.823e-06/0.9258, allocations: 0 / 0.7443 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06085/0.9866, allocations: 19.53 MB / 0.7634 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004423/0.9872, allocations: 284.8 kB / 0.7637 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.973, allocations: 4 kB / 0.7637 GB, free: 6.855 MB / 0.5919 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: