Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_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.00109/0.00109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 282.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9674/0.9674, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 97.31 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01206/0.1736, allocations: 6.471 MB / 0.6866 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4818/0.6555, allocations: 151.6 MB / 0.8347 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009782/0.6565, allocations: 24.72 kB / 0.8347 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.6571, allocations: 260.9 kB / 0.8349 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.6589, allocations: 0.6893 MB / 0.8356 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.6613, allocations: 1.36 MB / 0.8369 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.6638, allocations: 2.657 MB / 0.8395 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.6657, allocations: 1.594 MB / 0.8411 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.6673, allocations: 1.133 MB / 0.8422 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.6689, allocations: 1.293 MB / 0.8435 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004856/0.6694, allocations: 325.2 kB / 0.8438 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.6706, allocations: 0.6679 MB / 0.8444 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.6711, allocations: 0.7023 MB / 0.8451 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.6724, allocations: 1.271 MB / 0.8463 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.6758, allocations: 3.486 MB / 0.8497 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6758, allocations: 2.719 kB / 0.8498 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6758, allocations: 0 / 0.8498 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.574e-05/0.6758, allocations: 0 / 0.8498 GB, free: 10.23 MB / 0.5762 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.0065/0.6824, allocations: 2.785 MB / 0.8525 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6824, allocations: 7.969 kB / 0.8525 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/0.6828, allocations: 320.2 kB / 0.8528 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.6992, allocations: 2.105 MB / 0.8548 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.7022, allocations: 1.273 MB / 0.8561 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.7023, allocations: 168.2 kB / 0.8562 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.7027, allocations: 222.6 kB / 0.8565 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008686/0.7114, allocations: 3.277 MB / 0.8597 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.7115, allocations: 0 / 0.8597 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.7118, allocations: 95.98 kB / 0.8597 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.7118, allocations: 55.56 kB / 0.8598 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.7247, allocations: 4.197 MB / 0.8639 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.7416, allocations: 7.328 MB / 0.8711 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/0.7511, allocations: 2.882 MB / 0.8739 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00452/0.7556, allocations: 1.484 MB / 0.8753 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007777/0.7564, allocations: 0.5051 MB / 0.8758 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005362/0.7618, allocations: 1.846 MB / 0.8776 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=213): time 4.819e-06/0.7618, allocations: 4 kB / 0.8776 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=213): time 0.01621/0.778, allocations: 4.454 MB / 0.882 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.7783, allocations: 209.6 kB / 0.8822 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.7806, allocations: 0.9452 MB / 0.8831 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004664/0.7811, allocations: 69.64 kB / 0.8832 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008736/0.7819, allocations: 0.7427 MB / 0.8839 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009042/0.7829, allocations: 0.6808 MB / 0.8845 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.784, allocations: 383.2 kB / 0.8849 GB, free: 144 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7842, allocations: 301.1 kB / 0.8852 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/0.7887, allocations: 1.234 MB / 0.8864 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/0.7933, allocations: 1.433 MB / 0.8878 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009037/0.8024, allocations: 2.579 MB / 0.8903 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.8024, allocations: 4 kB / 0.8903 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.011/0.8134, allocations: 3.069 MB / 0.8933 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.8135, allocations: 4 kB / 0.8933 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8135, allocations: 0 / 0.8933 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.8141, allocations: 94.7 kB / 0.8934 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/0.8181, allocations: 0.5928 MB / 0.894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.8203, allocations: 1.63 MB / 0.8956 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/0.8239, allocations: 366 kB / 0.8959 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/0.8244, allocations: 97.39 kB / 0.896 GB, free: 4.535 MB / 0.6075 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.001298/0.8257, allocations: 432.4 kB / 0.8964 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/0.8263, allocations: 158.2 kB / 0.8966 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.839, allocations: 3.714 MB / 0.9002 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.8391, allocations: 24 kB / 0.9002 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8391, allocations: 0 / 0.9002 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/0.8391, allocations: 11.95 kB / 0.9003 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.8428, allocations: 2.466 MB / 0.9027 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.8428, allocations: 0 / 0.9027 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003923/0.8467, allocations: 0.5616 MB / 0.9032 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.8473, allocations: 80.72 kB / 0.9033 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/0.8477, allocations: 71.91 kB / 0.9034 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.8497, allocations: 1.663 MB / 0.905 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8497, allocations: 0 / 0.905 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.861, allocations: 3.21 MB / 0.9081 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.8621, allocations: 0.5448 MB / 0.9086 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.8627, allocations: 55.78 kB / 0.9087 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003135/0.8658, allocations: 273.6 kB / 0.909 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.8662, allocations: 149.8 kB / 0.9091 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/0.8664, allocations: 91.91 kB / 0.9092 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001106/0.8676, allocations: 0.6997 MB / 0.9099 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.534e-06/0.8676, allocations: 4 kB / 0.9099 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001925/0.8695, allocations: 0.6387 MB / 0.9105 GB, free: 5.504 MB / 0.6231 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.01318/0.8827, allocations: 4.322 MB / 0.9147 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01519/0.8979, allocations: 3.635 MB / 0.9183 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.898, allocations: 4 kB / 0.9183 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005958/0.904, allocations: 1.757 MB / 0.92 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.9066, allocations: 363.5 kB / 0.9203 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04713/0.9538, allocations: 16.95 MB / 0.9369 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.9556, allocations: 1.426 MB / 0.9383 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004114/0.9597, allocations: 0.5714 MB / 0.9388 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/0.9619, allocations: 0.8818 MB / 0.9397 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of SimCode: time 9.31e-07/0.962, allocations: 3.938 kB / 0.9397 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8819/1.844, allocations: 41.64 MB / 0.9804 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/16.05, allocations: 18.8 kB / 0.9804 GB, free: 13.98 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)