Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004567/0.004567, allocations: 106 kB / 15.73 MB, free: 6 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.001312/0.001312, allocations: 192.2 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7445/0.7445, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 60.95 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007597/0.1416, allocations: 6.059 MB / 0.6651 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4998/0.6413, allocations: 151.4 MB / 0.813 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.6431, allocations: 23.53 kB / 0.813 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.6443, allocations: 247 kB / 0.8132 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.6469, allocations: 0.6223 MB / 0.8138 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.6503, allocations: 1.278 MB / 0.8151 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.6535, allocations: 2.417 MB / 0.8174 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.6558, allocations: 1.587 MB / 0.819 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.6573, allocations: 1.06 MB / 0.82 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.659, allocations: 1.191 MB / 0.8212 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006442/0.6596, allocations: 294.8 kB / 0.8215 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.6614, allocations: 0.6808 MB / 0.8221 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.6624, allocations: 0.6383 MB / 0.8228 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.6642, allocations: 1.178 MB / 0.8239 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.6682, allocations: 3.299 MB / 0.8271 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6683, allocations: 2.844 kB / 0.8271 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6683, allocations: 0 / 0.8271 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000108/0.6684, allocations: 0 / 0.8271 GB, free: 3.762 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.00574/0.6741, allocations: 2.587 MB / 0.8297 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.6742, allocations: 7.75 kB / 0.8297 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003346/0.6745, allocations: 308.6 kB / 0.83 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.6892, allocations: 2.095 MB / 0.832 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.6928, allocations: 1.225 MB / 0.8332 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.693, allocations: 159.6 kB / 0.8334 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.6941, allocations: 207.1 kB / 0.8336 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007955/0.702, allocations: 3.162 MB / 0.8366 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.7021, allocations: 2.562 kB / 0.8367 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.7024, allocations: 85 kB / 0.8367 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.7024, allocations: 57.25 kB / 0.8368 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.7143, allocations: 4.101 MB / 0.8408 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.7298, allocations: 6.923 MB / 0.8476 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007979/0.7379, allocations: 2.688 MB / 0.8502 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/0.7419, allocations: 1.431 MB / 0.8516 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/0.7426, allocations: 0.5035 MB / 0.8521 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004506/0.7471, allocations: 1.691 MB / 0.8537 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 3.908e-06/0.7472, allocations: 0 / 0.8537 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01375/0.7609, allocations: 4.204 MB / 0.8578 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.761, allocations: 197.9 kB / 0.858 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.7621, allocations: 0.8544 MB / 0.8588 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.7623, allocations: 57.7 kB / 0.8589 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.7628, allocations: 0.7151 MB / 0.8596 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/0.7634, allocations: 0.6274 MB / 0.8602 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/0.764, allocations: 351.2 kB / 0.8605 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.7641, allocations: 305.1 kB / 0.8608 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003741/0.7678, allocations: 1.167 MB / 0.862 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.7718, allocations: 1.355 MB / 0.8633 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/0.7793, allocations: 2.47 MB / 0.8657 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7794, allocations: 3.938 kB / 0.8657 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009151/0.7885, allocations: 2.909 MB / 0.8686 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.7886, allocations: 7.375 kB / 0.8686 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.7886, allocations: 4 kB / 0.8686 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.7893, allocations: 84.83 kB / 0.8687 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/0.793, allocations: 0.5584 MB / 0.8692 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.795, allocations: 1.646 MB / 0.8708 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.798, allocations: 330.2 kB / 0.8711 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.7983, allocations: 87.89 kB / 0.8712 GB, free: 12.14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.7993, allocations: 401.6 kB / 0.8716 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/0.7999, allocations: 146.2 kB / 0.8717 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.8104, allocations: 3.482 MB / 0.8751 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.8104, allocations: 24 kB / 0.8751 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8104, allocations: 0 / 0.8751 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.8105, allocations: 11.95 kB / 0.8752 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.8236, allocations: 5.762 MB / 0.8808 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.8236, allocations: 0 / 0.8808 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/0.8271, allocations: 0.5422 MB / 0.8813 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.8276, allocations: 72.8 kB / 0.8814 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/0.8279, allocations: 67.92 kB / 0.8815 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.8298, allocations: 1.674 MB / 0.8831 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8298, allocations: 3.938 kB / 0.8831 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009208/0.839, allocations: 3.046 MB / 0.8861 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/0.8399, allocations: 0.5063 MB / 0.8866 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/0.8403, allocations: 43.84 kB / 0.8866 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/0.8432, allocations: 247.7 kB / 0.8868 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.8435, allocations: 125.8 kB / 0.887 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.8438, allocations: 83.92 kB / 0.887 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001157/0.8449, allocations: 0.6427 MB / 0.8877 GB, free: 11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.845, allocations: 0 / 0.8877 GB, free: 11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001815/0.8468, allocations: 0.5919 MB / 0.8882 GB, free: 10.41 MB / 0.6544 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01071/0.8575, allocations: 4.155 MB / 0.8923 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008947/0.8665, allocations: 2.956 MB / 0.8952 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.8665, allocations: 0 / 0.8952 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005003/0.8715, allocations: 1.658 MB / 0.8968 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.8735, allocations: 353.1 kB / 0.8971 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/0.9117, allocations: 15.05 MB / 0.9118 GB, free: 2.281 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.9128, allocations: 1.369 MB / 0.9132 GB, free: 0.875 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002767/0.9156, allocations: 0.5546 MB / 0.9137 GB, free: 324 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.9172, allocations: 0.8155 MB / 0.9145 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of SimCode: time 6.92e-07/0.9172, allocations: 0 / 0.9145 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/0.993, allocations: 39.84 MB / 0.9534 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.57, allocations: 12.88 kB / 0.9534 GB, free: 7.887 MB / 0.7169 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)