Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_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.004402/0.004402, allocations: 99.59 kB / 15.73 MB, free: 6.039 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.001229/0.001229, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2663, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007471/0.2738, allocations: 5.95 MB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6398/0.9137, allocations: 150.8 MB / 1.373 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007767/0.9145, allocations: 16.72 kB / 1.373 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.9152, allocations: 235.8 kB / 1.373 GB, free: 9.941 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.917, allocations: 0.6258 MB / 1.374 GB, free: 9.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.9188, allocations: 0.8746 MB / 1.375 GB, free: 9.113 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.9206, allocations: 1.655 MB / 1.377 GB, free: 8.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.9218, allocations: 0.8669 MB / 1.377 GB, free: 7.789 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.9226, allocations: 0.6105 MB / 1.378 GB, free: 7.477 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008564/0.9235, allocations: 0.662 MB / 1.379 GB, free: 7.113 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.9237, allocations: 154.6 kB / 1.379 GB, free: 7.113 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008334/0.9245, allocations: 0.5143 MB / 1.379 GB, free: 6.996 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.9248, allocations: 373.5 kB / 1.38 GB, free: 6.754 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.9255, allocations: 0.7355 MB / 1.38 GB, free: 6.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.9275, allocations: 2.043 MB / 1.382 GB, free: 4.875 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.9275, allocations: 1.312 kB / 1.382 GB, free: 4.875 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9275, allocations: 4 kB / 1.382 GB, free: 4.871 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.9275, allocations: 0 / 1.382 GB, free: 4.871 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002658/0.9302, allocations: 1.762 MB / 1.384 GB, free: 3.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.9302, allocations: 9.156 kB / 1.384 GB, free: 3.5 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.9305, allocations: 182.3 kB / 1.384 GB, free: 3.352 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.9314, allocations: 226.9 kB / 1.385 GB, free: 3.242 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.9326, allocations: 0.8792 MB / 1.385 GB, free: 2.523 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.9327, allocations: 91.41 kB / 1.385 GB, free: 2.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.9328, allocations: 113.7 kB / 1.386 GB, free: 2.445 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.9347, allocations: 1.206 MB / 1.387 GB, free: 1.672 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.9348, allocations: 3.938 kB / 1.387 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9349, allocations: 52.69 kB / 1.387 GB, free: 1.629 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.9349, allocations: 27.97 kB / 1.387 GB, free: 1.629 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.9369, allocations: 1.285 MB / 1.388 GB, free: 1.012 MB / 1.076 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.004694/0.9416, allocations: 3.561 MB / 1.392 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.9431, allocations: 0.8658 MB / 1.392 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.9437, allocations: 320.2 kB / 1.393 GB, free: 13.54 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.9438, allocations: 44.03 kB / 1.393 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008423/0.9446, allocations: 0.5139 MB / 1.393 GB, free: 13.19 MB / 1.092 GB Notification: Performance of pre-optimization done (n=87): time 2.284e-06/0.9446, allocations: 1.219 kB / 1.393 GB, free: 13.19 MB / 1.092 GB Notification: Performance of matching and sorting (n=87): time 0.00314/0.9478, allocations: 1.284 MB / 1.395 GB, free: 12.49 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.9479, allocations: 194.7 kB / 1.395 GB, free: 12.27 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008534/0.9488, allocations: 0.739 MB / 1.395 GB, free: 11.84 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.9488, allocations: 42.89 kB / 1.395 GB, free: 11.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.9493, allocations: 0.5273 MB / 1.396 GB, free: 11.33 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.9495, allocations: 293.4 kB / 1.396 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.9497, allocations: 161.1 kB / 1.396 GB, free: 10.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9499, allocations: 337.2 kB / 1.397 GB, free: 10.65 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.9504, allocations: 269.5 kB / 1.397 GB, free: 10.52 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.951, allocations: 388.9 kB / 1.397 GB, free: 10.28 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.9521, allocations: 0.6384 MB / 1.398 GB, free: 9.934 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9521, allocations: 0 / 1.398 GB, free: 9.934 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001837/0.954, allocations: 0.8766 MB / 1.399 GB, free: 9.48 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.954, allocations: 4.688 kB / 1.399 GB, free: 9.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.954, allocations: 5.25 kB / 1.399 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.9546, allocations: 84.64 kB / 1.399 GB, free: 9.434 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.9552, allocations: 164.4 kB / 1.399 GB, free: 9.395 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.9572, allocations: 1.63 MB / 1.401 GB, free: 7.793 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.9579, allocations: 95.64 kB / 1.401 GB, free: 7.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.9579, allocations: 37.64 kB / 1.401 GB, free: 7.715 MB / 1.092 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 (96): * Single equations (assignments): 95 * 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.0004025/0.9584, allocations: 302.1 kB / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.9585, allocations: 96.3 kB / 1.401 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.9608, allocations: 1.131 MB / 1.402 GB, free: 6.801 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.9609, allocations: 12.44 kB / 1.402 GB, free: 6.797 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9609, allocations: 3.984 kB / 1.402 GB, free: 6.793 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.9609, allocations: 5.516 kB / 1.402 GB, free: 6.789 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.962, allocations: 1.056 MB / 1.403 GB, free: 6.012 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.962, allocations: 6.219 kB / 1.403 GB, free: 6.008 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.9626, allocations: 148.8 kB / 1.403 GB, free: 5.977 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.963, allocations: 74.48 kB / 1.404 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.963, allocations: 25.64 kB / 1.404 GB, free: 5.922 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.9649, allocations: 1.671 MB / 1.405 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9649, allocations: 3.938 kB / 1.405 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.9667, allocations: 0.9849 MB / 1.406 GB, free: 3.766 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.9671, allocations: 298.3 kB / 1.406 GB, free: 3.504 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.9672, allocations: 19.73 kB / 1.406 GB, free: 3.492 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.9678, allocations: 64.69 kB / 1.407 GB, free: 3.461 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.968, allocations: 81.66 kB / 1.407 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.9681, allocations: 40.72 kB / 1.407 GB, free: 3.398 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005981/0.9687, allocations: 0.517 MB / 1.407 GB, free: 3.102 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9687, allocations: 1.594 kB / 1.407 GB, free: 3.102 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008165/0.9695, allocations: 389.6 kB / 1.408 GB, free: 2.98 MB / 1.092 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 (98): * Single equations (assignments): 92 * 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.003791/0.9733, allocations: 2.043 MB / 1.41 GB, free: 1.727 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.9748, allocations: 0.8648 MB / 1.41 GB, free: 1.277 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9748, allocations: 0 / 1.41 GB, free: 1.277 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.9757, allocations: 0.5407 MB / 1.411 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.9768, allocations: 333.4 kB / 1.411 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.9873, allocations: 7.076 MB / 1.418 GB, free: 9.863 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.988, allocations: 1.104 MB / 1.419 GB, free: 8.734 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007832/0.9888, allocations: 299.6 kB / 1.419 GB, free: 8.438 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/0.9894, allocations: 479.2 kB / 1.42 GB, free: 7.969 MB / 1.107 GB Notification: Performance of SimCode: time 2.104e-06/0.9894, allocations: 0 / 1.42 GB, free: 7.969 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.283/5.272, allocations: 24.16 MB / 1.444 GB, free: 176 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.97/25.24, allocations: 9.188 kB / 1.444 GB, free: 172 kB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)