Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.001253/0.001253, 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.001204/0.001204, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.381/2.381, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.14 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2218, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005638/0.2275, allocations: 4.859 MB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1313/0.3588, allocations: 150.6 MB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006486/0.3595, allocations: 19.88 kB / 1.205 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.36, allocations: 182.3 kB / 1.205 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3616, allocations: 0.5504 MB / 1.205 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.3632, allocations: 0.8167 MB / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.3644, allocations: 1.37 MB / 1.208 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.3652, allocations: 0.5831 MB / 1.208 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.3657, allocations: 482.4 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.3663, allocations: 0.4978 MB / 1.209 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.3664, allocations: 116 kB / 1.209 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.3671, allocations: 451.7 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3674, allocations: 291 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.3678, allocations: 0.5635 MB / 1.21 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.3692, allocations: 1.581 MB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3692, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3692, allocations: 4 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.3692, allocations: 3.938 kB / 1.212 GB, free: 4.645 MB / 0.9669 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.002202/0.3715, allocations: 1.426 MB / 1.213 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3715, allocations: 8.625 kB / 1.213 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.3716, allocations: 131.4 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.3725, allocations: 191.4 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008638/0.3733, allocations: 0.7303 MB / 1.214 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.3734, allocations: 66 kB / 1.214 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.3735, allocations: 80 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3748, allocations: 0.9106 MB / 1.215 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3748, allocations: 0 / 1.215 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.3749, allocations: 40 kB / 1.215 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3749, allocations: 24 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.3764, allocations: 1.1 MB / 1.217 GB, free: 15.81 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.3797, allocations: 2.712 MB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.3811, allocations: 0.8018 MB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.3815, allocations: 302.7 kB / 1.22 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.3816, allocations: 32.67 kB / 1.22 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007176/0.3823, allocations: 499.1 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 1.813e-06/0.3823, allocations: 0 / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.002839/0.3852, allocations: 1.194 MB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.3853, allocations: 192.6 kB / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.3859, allocations: 0.6254 MB / 1.223 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.386, allocations: 41.7 kB / 1.223 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.3862, allocations: 400.3 kB / 1.223 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3864, allocations: 256.3 kB / 1.223 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3866, allocations: 142.5 kB / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3867, allocations: 398.7 kB / 1.224 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.3872, allocations: 245.9 kB / 1.224 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.3877, allocations: 358.5 kB / 1.225 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009759/0.3887, allocations: 0.5838 MB / 1.225 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3887, allocations: 0 / 1.225 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001654/0.3904, allocations: 0.8019 MB / 1.226 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3904, allocations: 7.938 kB / 1.226 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3904, allocations: 8.094 kB / 1.226 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.391, allocations: 92.7 kB / 1.226 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.3915, allocations: 147.8 kB / 1.226 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.3933, allocations: 1.633 MB / 1.228 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.3939, allocations: 84.73 kB / 1.228 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.3939, allocations: 35.97 kB / 1.228 GB, free: 3.828 MB / 0.9825 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.0003034/0.3942, allocations: 275.1 kB / 1.228 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3944, allocations: 82.97 kB / 1.228 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.3965, allocations: 1.054 MB / 1.229 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.3965, allocations: 12 kB / 1.229 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3965, allocations: 3.938 kB / 1.229 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3965, allocations: 3.984 kB / 1.229 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.3974, allocations: 0.8918 MB / 1.23 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3974, allocations: 0 / 1.23 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.3979, allocations: 147.8 kB / 1.23 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.3983, allocations: 72.78 kB / 1.23 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.3984, allocations: 23.98 kB / 1.23 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.4, allocations: 1.658 MB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4, allocations: 3.938 kB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4017, allocations: 0.9279 MB / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.402, allocations: 263.8 kB / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4021, allocations: 16 kB / 1.233 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.4027, allocations: 63.92 kB / 1.233 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4028, allocations: 76.78 kB / 1.233 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.4029, allocations: 35.97 kB / 1.233 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004728/0.4034, allocations: 463 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4034, allocations: 0 / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006205/0.404, allocations: 323.1 kB / 1.234 GB, free: 13.21 MB / 0.9981 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.003016/0.407, allocations: 1.966 MB / 1.236 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.409, allocations: 0.9991 MB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.409, allocations: 0 / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.4098, allocations: 0.5161 MB / 1.237 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4109, allocations: 307.3 kB / 1.238 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.4192, allocations: 6.342 MB / 1.244 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.4197, allocations: 1.024 MB / 1.245 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007047/0.4204, allocations: 274.6 kB / 1.245 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.4209, allocations: 375.3 kB / 1.246 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.4209, allocations: 0 / 1.246 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.49/1.911, allocations: 21.26 MB / 1.266 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.57, allocations: 9.328 kB / 1.266 GB, free: 189.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)