Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001137/0.001137, 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.001118/0.001118, 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4741, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004508/0.4786, allocations: 4.334 MB / 0.954 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1294/0.6081, allocations: 150.6 MB / 1.101 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.6088, allocations: 19.88 kB / 1.101 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.6093, allocations: 170.4 kB / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.6109, allocations: 0.5033 MB / 1.102 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.6125, allocations: 0.8234 MB / 1.102 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009554/0.6135, allocations: 1.293 MB / 1.104 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006727/0.6142, allocations: 0.6063 MB / 1.104 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.6146, allocations: 470.3 kB / 1.105 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.615, allocations: 493.8 kB / 1.105 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.6152, allocations: 120 kB / 1.105 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.6158, allocations: 451.7 kB / 1.106 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.616, allocations: 299 kB / 1.106 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.6164, allocations: 0.544 MB / 1.107 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.6178, allocations: 1.554 MB / 1.108 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6178, allocations: 0 / 1.108 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6178, allocations: 4 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.6178, allocations: 0 / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002059/0.6199, allocations: 1.418 MB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.6199, allocations: 12.03 kB / 1.11 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.6201, allocations: 135.4 kB / 1.11 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.6209, allocations: 183.4 kB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008393/0.6217, allocations: 0.7381 MB / 1.111 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.6218, allocations: 62 kB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.6219, allocations: 87.98 kB / 1.111 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.6232, allocations: 0.9067 MB / 1.112 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6232, allocations: 0 / 1.112 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.6233, allocations: 36 kB / 1.112 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.6233, allocations: 20 kB / 1.112 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.6248, allocations: 1.104 MB / 1.113 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.628, allocations: 2.484 MB / 1.115 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.6293, allocations: 0.794 MB / 1.116 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.6297, allocations: 298.6 kB / 1.116 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.6298, allocations: 32.69 kB / 1.116 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.6306, allocations: 499.1 kB / 1.117 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 1.944e-06/0.6306, allocations: 0 / 1.117 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.00279/0.6334, allocations: 1.19 MB / 1.118 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.6335, allocations: 188.6 kB / 1.118 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.6341, allocations: 0.6254 MB / 1.119 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.6341, allocations: 41.7 kB / 1.119 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.6344, allocations: 400.3 kB / 1.119 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.6346, allocations: 256.3 kB / 1.119 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.6348, allocations: 158.5 kB / 1.119 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6349, allocations: 386.7 kB / 1.12 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.6353, allocations: 241.9 kB / 1.12 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.6359, allocations: 358.5 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.6368, allocations: 0.5799 MB / 1.121 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6368, allocations: 0 / 1.121 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001636/0.6385, allocations: 0.8019 MB / 1.122 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6385, allocations: 4 kB / 1.122 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6385, allocations: 4 kB / 1.122 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.639, allocations: 80.78 kB / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.6396, allocations: 151.8 kB / 1.122 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6414, allocations: 1.63 MB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.6419, allocations: 89.55 kB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.642, allocations: 32.05 kB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002928/0.6423, allocations: 269.5 kB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.6424, allocations: 82.97 kB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.6445, allocations: 1.066 MB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6445, allocations: 8 kB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6445, allocations: 3.938 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6445, allocations: 3.984 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.6453, allocations: 0.8918 MB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6454, allocations: 3.938 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.6459, allocations: 143.8 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.6463, allocations: 72.78 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.6463, allocations: 23.98 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.648, allocations: 1.669 MB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.648, allocations: 4.031 kB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.6497, allocations: 0.92 MB / 1.129 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.65, allocations: 267.9 kB / 1.129 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6501, allocations: 19.98 kB / 1.129 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.6506, allocations: 63.92 kB / 1.129 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6508, allocations: 80.83 kB / 1.129 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.6508, allocations: 31.98 kB / 1.129 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004643/0.6513, allocations: 463 kB / 1.13 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6513, allocations: 0 / 1.13 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006093/0.6519, allocations: 307.2 kB / 1.13 GB, free: 7.902 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002978/0.6549, allocations: 1.968 MB / 1.132 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.6569, allocations: 0.9913 MB / 1.133 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6569, allocations: 4 kB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.6577, allocations: 0.516 MB / 1.133 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.6587, allocations: 296.9 kB / 1.134 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00922/0.6679, allocations: 6.443 MB / 1.14 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.6684, allocations: 1.015 MB / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006858/0.6691, allocations: 266.5 kB / 1.141 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.6696, allocations: 379.3 kB / 1.141 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.6696, allocations: 0 / 1.141 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.7164, allocations: 20.85 MB / 1.162 GB, free: 7.562 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.11, allocations: 10.55 kB / 1.162 GB, free: 7.555 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)