Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_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.005502/0.005502, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001536/0.001536, allocations: 202.7 kB / 16.68 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9404/0.9404, allocations: 135.6 MB / 426.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 81.03 MB / 0.6649 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005618/0.3441, allocations: 6.056 MB / 0.6708 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.5122, allocations: 151.5 MB / 0.8187 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.5134, allocations: 27.88 kB / 0.8187 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.5143, allocations: 241.4 kB / 0.8189 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.5164, allocations: 0.6196 MB / 0.8195 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.519, allocations: 1.276 MB / 0.8208 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.5215, allocations: 2.427 MB / 0.8232 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.5234, allocations: 1.584 MB / 0.8247 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.5248, allocations: 1.047 MB / 0.8257 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.5262, allocations: 1.19 MB / 0.8269 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003684/0.5266, allocations: 300 kB / 0.8272 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5278, allocations: 0.6753 MB / 0.8278 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.5284, allocations: 0.6349 MB / 0.8285 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.5295, allocations: 1.174 MB / 0.8296 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.533, allocations: 3.314 MB / 0.8328 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5331, allocations: 0 / 0.8328 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5331, allocations: 0 / 0.8328 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.928e-05/0.5331, allocations: 0 / 0.8328 GB, free: 4.238 MB / 0.6544 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.005149/0.5383, allocations: 2.656 MB / 0.8354 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5383, allocations: 8.031 kB / 0.8354 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003642/0.5387, allocations: 308.3 kB / 0.8357 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.5542, allocations: 2.102 MB / 0.8378 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.5563, allocations: 1.216 MB / 0.839 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.5564, allocations: 168.3 kB / 0.8391 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.5568, allocations: 208 kB / 0.8393 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008176/0.565, allocations: 3.162 MB / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.565, allocations: 0 / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.5653, allocations: 92 kB / 0.8425 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.5654, allocations: 52 kB / 0.8426 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.5783, allocations: 4.099 MB / 0.8466 GB, free: 5.938 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.5927, allocations: 6.946 MB / 0.8533 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008907/0.6016, allocations: 2.684 MB / 0.856 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/0.606, allocations: 1.434 MB / 0.8574 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/0.6068, allocations: 0.5078 MB / 0.8579 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00494/0.6117, allocations: 1.699 MB / 0.8595 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 3.507e-06/0.6117, allocations: 0 / 0.8595 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.0147/0.6265, allocations: 4.205 MB / 0.8636 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.6266, allocations: 205.9 kB / 0.8638 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6278, allocations: 0.8623 MB / 0.8647 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.628, allocations: 57.7 kB / 0.8647 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006187/0.6286, allocations: 0.7285 MB / 0.8654 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/0.6292, allocations: 0.6584 MB / 0.8661 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/0.6299, allocations: 351.3 kB / 0.8664 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.63, allocations: 313 kB / 0.8667 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2847/0.9148, allocations: 1.159 MB / 0.8678 GB, free: 189 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004678/0.9195, allocations: 1.356 MB / 0.8692 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008223/0.9277, allocations: 2.47 MB / 0.8716 GB, free: 188 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9277, allocations: 0 / 0.8716 GB, free: 188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009891/0.9376, allocations: 2.906 MB / 0.8744 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.9377, allocations: 6.438 kB / 0.8744 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9377, allocations: 2.656 kB / 0.8744 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.9383, allocations: 88.75 kB / 0.8745 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.9419, allocations: 0.5644 MB / 0.8751 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.9436, allocations: 1.64 MB / 0.8767 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.9464, allocations: 334.5 kB / 0.877 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.9466, allocations: 89.89 kB / 0.8771 GB, free: 185.5 MB / 0.6856 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.0008084/0.9474, allocations: 404.8 kB / 0.8774 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.9478, allocations: 156.3 kB / 0.8776 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.958, allocations: 3.475 MB / 0.881 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.958, allocations: 20.2 kB / 0.881 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.958, allocations: 5.156 kB / 0.881 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.9581, allocations: 11.25 kB / 0.881 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.9698, allocations: 5.752 MB / 0.8866 GB, free: 181 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.9698, allocations: 0.9688 kB / 0.8866 GB, free: 181 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/0.973, allocations: 0.5455 MB / 0.8872 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.9735, allocations: 77.69 kB / 0.8872 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.9737, allocations: 66.92 kB / 0.8873 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.9751, allocations: 1.663 MB / 0.8889 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9751, allocations: 0.9062 kB / 0.8889 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008918/0.9841, allocations: 3.061 MB / 0.8919 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.9847, allocations: 0.506 MB / 0.8924 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.985, allocations: 49.3 kB / 0.8925 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/0.9875, allocations: 250.9 kB / 0.8927 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.9877, allocations: 131.1 kB / 0.8928 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.9879, allocations: 79.55 kB / 0.8929 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007741/0.9887, allocations: 0.6423 MB / 0.8935 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9887, allocations: 0 / 0.8935 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001479/0.9902, allocations: 0.5975 MB / 0.8941 GB, free: 176.3 MB / 0.6856 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.01066/1.001, allocations: 4.168 MB / 0.8982 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00862/1.009, allocations: 2.953 MB / 0.9011 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.01, allocations: 0 / 0.9011 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/1.014, allocations: 1.665 MB / 0.9027 GB, free: 171.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.015, allocations: 355.9 kB / 0.903 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03115/1.046, allocations: 15.12 MB / 0.9178 GB, free: 158 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/1.047, allocations: 1.361 MB / 0.9191 GB, free: 156.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002249/1.049, allocations: 0.5546 MB / 0.9197 GB, free: 156 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.05, allocations: 0.8194 MB / 0.9205 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/1.05, allocations: 0 / 0.9205 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6862/1.737, allocations: 39.05 MB / 0.9586 GB, free: 116.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/16.29, allocations: 4.906 kB / 0.9586 GB, free: 116.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)