Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_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.004567/0.004567, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001348/0.001348, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.356/2.356, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 68.09 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6006/0.6023, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006166/0.6085, allocations: 4.841 MB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.7663, allocations: 150.6 MB / 1.372 GB, free: 6.004 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.7669, allocations: 15.94 kB / 1.372 GB, free: 5.988 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.7674, allocations: 186.2 kB / 1.372 GB, free: 5.805 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.7688, allocations: 0.5506 MB / 1.373 GB, free: 5.254 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.7705, allocations: 0.8321 MB / 1.373 GB, free: 4.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.7718, allocations: 1.378 MB / 1.375 GB, free: 3.047 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.7726, allocations: 0.578 MB / 1.375 GB, free: 2.445 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.7731, allocations: 486.2 kB / 1.376 GB, free: 1.969 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005564/0.7737, allocations: 0.494 MB / 1.376 GB, free: 1.473 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.7738, allocations: 120 kB / 1.376 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007375/0.7746, allocations: 487.6 kB / 1.377 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.7749, allocations: 295 kB / 1.377 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004953/0.7754, allocations: 0.5519 MB / 1.378 GB, free: 36 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.7771, allocations: 1.628 MB / 1.379 GB, free: 14.4 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.7771, allocations: 0 / 1.379 GB, free: 14.4 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7771, allocations: 0 / 1.379 GB, free: 14.4 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.7771, allocations: 4 kB / 1.379 GB, free: 14.4 MB / 1.107 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.002287/0.7794, allocations: 1.467 MB / 1.381 GB, free: 12.88 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.7794, allocations: 12.03 kB / 1.381 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.7796, allocations: 131.4 kB / 1.381 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/0.7804, allocations: 192.1 kB / 1.381 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.7815, allocations: 0.7659 MB / 1.382 GB, free: 11.73 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.7816, allocations: 62 kB / 1.382 GB, free: 11.67 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.7817, allocations: 84 kB / 1.382 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.7832, allocations: 0.9222 MB / 1.383 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.7832, allocations: 0 / 1.383 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.7833, allocations: 36 kB / 1.383 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.7834, allocations: 20 kB / 1.383 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.7851, allocations: 1.1 MB / 1.384 GB, free: 9.465 MB / 1.107 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.003748/0.7889, allocations: 2.683 MB / 1.387 GB, free: 6.664 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.7904, allocations: 0.8058 MB / 1.387 GB, free: 5.859 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.7909, allocations: 306.6 kB / 1.388 GB, free: 5.551 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.791, allocations: 28.62 kB / 1.388 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008311/0.7919, allocations: 491.2 kB / 1.388 GB, free: 5.023 MB / 1.107 GB Notification: Performance of pre-optimization done (n=80): time 1.843e-06/0.7919, allocations: 3.938 kB / 1.388 GB, free: 5.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=80): time 0.003089/0.795, allocations: 1.194 MB / 1.389 GB, free: 3.801 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7951, allocations: 192.6 kB / 1.39 GB, free: 3.57 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.7958, allocations: 0.6293 MB / 1.39 GB, free: 2.938 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.7959, allocations: 41.7 kB / 1.39 GB, free: 2.891 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.7962, allocations: 405 kB / 1.391 GB, free: 2.488 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.7965, allocations: 269.7 kB / 1.391 GB, free: 2.223 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.7967, allocations: 146.5 kB / 1.391 GB, free: 2.074 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.7969, allocations: 390.7 kB / 1.391 GB, free: 1.684 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.7974, allocations: 249.9 kB / 1.392 GB, free: 1.438 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.798, allocations: 358.6 kB / 1.392 GB, free: 1.062 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.7991, allocations: 0.5838 MB / 1.393 GB, free: 480 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7991, allocations: 0 / 1.393 GB, free: 480 kB / 1.107 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001821/0.8009, allocations: 0.814 MB / 1.393 GB, free: 15.64 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.801, allocations: 8 kB / 1.393 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.801, allocations: 4 kB / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/0.8016, allocations: 88.77 kB / 1.393 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.8022, allocations: 147.8 kB / 1.394 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.8042, allocations: 1.623 MB / 1.395 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.8048, allocations: 87.5 kB / 1.395 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.8049, allocations: 28.05 kB / 1.395 GB, free: 13.52 MB / 1.123 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.0003658/0.8052, allocations: 286.3 kB / 1.396 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.8054, allocations: 83.44 kB / 1.396 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.8077, allocations: 1.046 MB / 1.397 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.8077, allocations: 12 kB / 1.397 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8078, allocations: 11.86 kB / 1.397 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.8078, allocations: 3.984 kB / 1.397 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.8088, allocations: 0.8881 MB / 1.398 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.8088, allocations: 7.938 kB / 1.398 GB, free: 11.1 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.8094, allocations: 147.8 kB / 1.398 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.8098, allocations: 64.8 kB / 1.398 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.8099, allocations: 27.97 kB / 1.398 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.8118, allocations: 1.674 MB / 1.399 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8118, allocations: 0 / 1.399 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.8138, allocations: 0.9323 MB / 1.4 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.8141, allocations: 276.2 kB / 1.401 GB, free: 7.805 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8142, allocations: 16 kB / 1.401 GB, free: 7.789 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/0.8148, allocations: 65.64 kB / 1.401 GB, free: 7.727 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.815, allocations: 72.84 kB / 1.401 GB, free: 7.652 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.8151, allocations: 35.97 kB / 1.401 GB, free: 7.617 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005564/0.8156, allocations: 459 kB / 1.401 GB, free: 7.176 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8156, allocations: 4 kB / 1.401 GB, free: 7.172 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007129/0.8164, allocations: 319.2 kB / 1.401 GB, free: 6.859 MB / 1.123 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.003945/0.8203, allocations: 1.98 MB / 1.403 GB, free: 5.031 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.8219, allocations: 0.8 MB / 1.404 GB, free: 4.219 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8219, allocations: 0 / 1.404 GB, free: 4.219 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009405/0.8229, allocations: 0.5199 MB / 1.405 GB, free: 3.688 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.824, allocations: 304 kB / 1.405 GB, free: 3.406 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.8338, allocations: 6.137 MB / 1.411 GB, free: 13.16 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.8345, allocations: 1.027 MB / 1.412 GB, free: 12.1 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007407/0.8353, allocations: 270.6 kB / 1.412 GB, free: 11.83 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/0.8358, allocations: 383.3 kB / 1.413 GB, free: 11.45 MB / 1.139 GB Notification: Performance of SimCode: time 4.61e-07/0.8358, allocations: 0 / 1.413 GB, free: 11.45 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.102/2.938, allocations: 21.49 MB / 1.434 GB, free: 6.336 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/17.56, allocations: 11.12 kB / 1.434 GB, free: 6.328 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)