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.005428/0.005428, allocations: 102 kB / 15.73 MB, free: 6.035 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.001263/0.001263, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7457/0.7457, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 65.19 kB / 0.5808 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006826/0.1348, allocations: 6.062 MB / 0.6651 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4572/0.5921, allocations: 151.4 MB / 0.813 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009129/0.593, allocations: 23 kB / 0.813 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.5937, allocations: 245.7 kB / 0.8132 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.5954, allocations: 0.6332 MB / 0.8138 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.5977, allocations: 1.286 MB / 0.8151 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.5998, allocations: 2.43 MB / 0.8175 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.6017, allocations: 1.575 MB / 0.819 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.6029, allocations: 1.064 MB / 0.8201 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.604, allocations: 1.194 MB / 0.8212 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.6043, allocations: 297.5 kB / 0.8215 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.6054, allocations: 0.6695 MB / 0.8222 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004779/0.6059, allocations: 0.6455 MB / 0.8228 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009216/0.6068, allocations: 1.167 MB / 0.8239 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.6098, allocations: 3.305 MB / 0.8272 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6098, allocations: 0 / 0.8272 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6098, allocations: 0 / 0.8272 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.367e-05/0.6099, allocations: 0 / 0.8272 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.005271/0.6152, allocations: 2.594 MB / 0.8297 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.6152, allocations: 7.812 kB / 0.8297 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003176/0.6155, allocations: 308.2 kB / 0.83 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.6296, allocations: 2.089 MB / 0.832 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.6321, allocations: 1.22 MB / 0.8332 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.6323, allocations: 165.2 kB / 0.8334 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.6326, allocations: 214.2 kB / 0.8336 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007618/0.6403, allocations: 3.156 MB / 0.8367 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.6403, allocations: 3.938 kB / 0.8367 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.6406, allocations: 88.53 kB / 0.8368 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.6406, allocations: 52.94 kB / 0.8368 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.6518, allocations: 4.102 MB / 0.8408 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.6658, allocations: 6.919 MB / 0.8476 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00769/0.6735, allocations: 2.696 MB / 0.8502 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/0.6775, allocations: 1.427 MB / 0.8516 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.6783, allocations: 0.5074 MB / 0.8521 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004374/0.6827, allocations: 1.687 MB / 0.8537 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 5.38e-06/0.6827, allocations: 4 kB / 0.8537 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01337/0.6961, allocations: 4.196 MB / 0.8578 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.6962, allocations: 201.9 kB / 0.858 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.6974, allocations: 0.8583 MB / 0.8589 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003444/0.6978, allocations: 61.7 kB / 0.8589 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/0.6984, allocations: 0.7074 MB / 0.8596 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/0.699, allocations: 0.6351 MB / 0.8602 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007484/0.6998, allocations: 343.2 kB / 0.8606 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.6999, allocations: 309.1 kB / 0.8609 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/0.7037, allocations: 1.163 MB / 0.862 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/0.7077, allocations: 1.355 MB / 0.8633 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/0.7157, allocations: 2.47 MB / 0.8657 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7158, allocations: 11.86 kB / 0.8657 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009638/0.7254, allocations: 2.897 MB / 0.8686 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.7255, allocations: 8 kB / 0.8686 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7255, allocations: 64 / 0.8686 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.7261, allocations: 88.77 kB / 0.8687 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/0.7296, allocations: 0.5582 MB / 0.8692 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.7317, allocations: 1.64 MB / 0.8708 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.7346, allocations: 338.2 kB / 0.8711 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/0.7349, allocations: 83.91 kB / 0.8712 GB, free: 12.09 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.0009927/0.7359, allocations: 404.5 kB / 0.8716 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.7364, allocations: 143.2 kB / 0.8717 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.7469, allocations: 3.484 MB / 0.8751 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.7469, allocations: 20 kB / 0.8752 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7469, allocations: 0 / 0.8752 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.747, allocations: 15.97 kB / 0.8752 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.7602, allocations: 5.758 MB / 0.8808 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.7602, allocations: 4 kB / 0.8808 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003441/0.7637, allocations: 0.5422 MB / 0.8813 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.7641, allocations: 76.77 kB / 0.8814 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/0.7645, allocations: 71.92 kB / 0.8815 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.7666, allocations: 1.67 MB / 0.8831 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7666, allocations: 3.938 kB / 0.8831 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.7768, allocations: 3.046 MB / 0.8861 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7779, allocations: 0.5103 MB / 0.8866 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004205/0.7783, allocations: 43.84 kB / 0.8866 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/0.781, allocations: 249.8 kB / 0.8869 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.7812, allocations: 121.8 kB / 0.887 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/0.7815, allocations: 83.92 kB / 0.8871 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009047/0.7824, allocations: 0.6388 MB / 0.8877 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7824, allocations: 0 / 0.8877 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001573/0.784, allocations: 0.5919 MB / 0.8883 GB, free: 10.36 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.01042/0.7944, allocations: 4.16 MB / 0.8923 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009077/0.8035, allocations: 2.956 MB / 0.8952 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8036, allocations: 0 / 0.8952 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004613/0.8082, allocations: 1.654 MB / 0.8968 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.8099, allocations: 354.2 kB / 0.8972 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/0.8458, allocations: 15.06 MB / 0.9119 GB, free: 2.227 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.847, allocations: 1.369 MB / 0.9132 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003603/0.8507, allocations: 0.5468 MB / 0.9137 GB, free: 276 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/0.8527, allocations: 0.8194 MB / 0.9145 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of SimCode: time 1.302e-06/0.8527, allocations: 0 / 0.9145 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07287/0.9256, allocations: 39.04 MB / 0.9527 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.16, allocations: 19.77 kB / 0.9527 GB, free: 8.641 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)