Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_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.001391/0.001391, allocations: 113.5 kB / 16.4 MB, free: 6.367 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.001419/0.001419, allocations: 202.2 kB / 17.34 MB, free: 5.844 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8068/0.8068, allocations: 125.4 MB / 416.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 62.88 kB / 0.5716 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1279, allocations: 78.57 MB / 0.6483 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01022/0.1381, allocations: 8.425 MB / 0.6565 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4607/0.5989, allocations: 151.8 MB / 0.8048 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.6001, allocations: 20.22 kB / 0.8048 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008116/0.601, allocations: 333.1 kB / 0.8052 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.6034, allocations: 0.8488 MB / 0.806 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.6059, allocations: 1.386 MB / 0.8073 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.6087, allocations: 2.996 MB / 0.8103 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.6103, allocations: 1.493 MB / 0.8117 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.6117, allocations: 1.189 MB / 0.8129 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.6132, allocations: 1.345 MB / 0.8142 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.6135, allocations: 324.6 kB / 0.8145 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.6147, allocations: 0.7049 MB / 0.8152 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000612/0.6153, allocations: 0.6929 MB / 0.8159 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.6165, allocations: 1.337 MB / 0.8172 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.6203, allocations: 3.683 MB / 0.8208 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6203, allocations: 0 / 0.8208 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6203, allocations: 0 / 0.8208 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.747e-05/0.6204, allocations: 6.531 kB / 0.8208 GB, free: 5.613 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005955/0.6263, allocations: 2.9 MB / 0.8236 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6264, allocations: 14.42 kB / 0.8236 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/0.6268, allocations: 312 kB / 0.8239 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.6425, allocations: 2.117 MB / 0.826 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.6451, allocations: 1.303 MB / 0.8273 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.6453, allocations: 174.9 kB / 0.8274 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.6457, allocations: 219.9 kB / 0.8276 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008764/0.6545, allocations: 3.277 MB / 0.8308 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.6545, allocations: 0 / 0.8308 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.6548, allocations: 91.53 kB / 0.8309 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.6549, allocations: 55.72 kB / 0.831 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.6682, allocations: 4.205 MB / 0.8351 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/0.6855, allocations: 8.157 MB / 0.8431 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009866/0.6954, allocations: 2.89 MB / 0.8459 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004908/0.7003, allocations: 1.489 MB / 0.8473 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/0.7012, allocations: 0.5089 MB / 0.8478 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005669/0.7069, allocations: 1.838 MB / 0.8496 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=213): time 4.368e-06/0.7069, allocations: 4 kB / 0.8496 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=213): time 0.01618/0.7231, allocations: 4.478 MB / 0.854 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.7233, allocations: 213.9 kB / 0.8542 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.7247, allocations: 0.9374 MB / 0.8551 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.7249, allocations: 69.7 kB / 0.8552 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/0.7255, allocations: 0.7639 MB / 0.8559 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006623/0.7262, allocations: 0.7075 MB / 0.8566 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007719/0.727, allocations: 379.3 kB / 0.857 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7271, allocations: 301.1 kB / 0.8573 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004554/0.7317, allocations: 1.246 MB / 0.8585 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.7365, allocations: 1.429 MB / 0.8599 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009214/0.7457, allocations: 2.583 MB / 0.8624 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.7457, allocations: 3.984 kB / 0.8624 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01095/0.7567, allocations: 3.082 MB / 0.8654 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.7567, allocations: 12.06 kB / 0.8654 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7567, allocations: 0 / 0.8654 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.7574, allocations: 88.77 kB / 0.8655 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/0.7613, allocations: 0.5936 MB / 0.8661 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.7637, allocations: 1.636 MB / 0.8677 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.767, allocations: 370.4 kB / 0.868 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.7673, allocations: 95.89 kB / 0.8681 GB, free: 11.42 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: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0009898/0.7683, allocations: 444.4 kB / 0.8686 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.7688, allocations: 159 kB / 0.8687 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.7812, allocations: 3.712 MB / 0.8723 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.7812, allocations: 24 kB / 0.8724 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7812, allocations: 0 / 0.8724 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/0.7813, allocations: 7.969 kB / 0.8724 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.7847, allocations: 2.458 MB / 0.8748 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7847, allocations: 0 / 0.8748 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/0.7885, allocations: 0.5616 MB / 0.8753 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/0.789, allocations: 76.73 kB / 0.8754 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/0.7893, allocations: 83.84 kB / 0.8755 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.7914, allocations: 1.66 MB / 0.8771 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7914, allocations: 4 kB / 0.8771 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.8024, allocations: 3.22 MB / 0.8802 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8034, allocations: 0.5529 MB / 0.8808 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.8038, allocations: 59.81 kB / 0.8808 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/0.8068, allocations: 269 kB / 0.8811 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.8071, allocations: 149.8 kB / 0.8812 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/0.8074, allocations: 95.91 kB / 0.8813 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001036/0.8084, allocations: 0.6997 MB / 0.882 GB, free: 13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8084, allocations: 0 / 0.882 GB, free: 13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0017/0.8101, allocations: 0.6741 MB / 0.8827 GB, free: 12.33 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01315/0.8233, allocations: 4.345 MB / 0.8869 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01048/0.8338, allocations: 3.128 MB / 0.89 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8338, allocations: 0 / 0.89 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005451/0.8393, allocations: 1.759 MB / 0.8917 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.8412, allocations: 388.2 kB / 0.8921 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04148/0.8827, allocations: 15.92 MB / 0.9076 GB, free: 2.75 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.8838, allocations: 1.426 MB / 0.909 GB, free: 1.289 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00277/0.8866, allocations: 0.5718 MB / 0.9096 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/0.8884, allocations: 0.8857 MB / 0.9104 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of SimCode: time 1.643e-06/0.8884, allocations: 0 / 0.9104 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5904/1.479, allocations: 42.81 MB / 0.9522 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.75, allocations: 7.25 kB / 0.9522 GB, free: 5.359 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)