Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_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.0008726/0.0008726, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009258/0.0009257, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.25/2.25, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 8 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4898, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004376/0.4942, allocations: 4.445 MB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1284/0.6226, allocations: 146.7 MB / 1.171 GB, free: 8.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.6232, allocations: 15.88 kB / 1.171 GB, free: 8.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.6237, allocations: 146.9 kB / 1.171 GB, free: 7.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.625, allocations: 469.4 kB / 1.171 GB, free: 7.488 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.6264, allocations: 0.7194 MB / 1.172 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009772/0.6274, allocations: 1.28 MB / 1.173 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.628, allocations: 0.5477 MB / 1.174 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.6284, allocations: 350.4 kB / 1.174 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.6288, allocations: 389.9 kB / 1.175 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.6289, allocations: 24 kB / 1.175 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.6294, allocations: 367.6 kB / 1.175 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.6296, allocations: 187.1 kB / 1.175 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.6299, allocations: 470.9 kB / 1.176 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.6311, allocations: 1.491 MB / 1.177 GB, free: 1.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.6311, allocations: 0 / 1.177 GB, free: 1.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6311, allocations: 0 / 1.177 GB, free: 1.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.6311, allocations: 0 / 1.177 GB, free: 1.668 MB / 0.92 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.001864/0.633, allocations: 1.216 MB / 1.178 GB, free: 404 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.633, allocations: 8.031 kB / 1.178 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.6331, allocations: 139.4 kB / 1.178 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.6339, allocations: 195.4 kB / 1.178 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008569/0.6348, allocations: 0.7381 MB / 1.179 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.6349, allocations: 62 kB / 1.179 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.635, allocations: 87.92 kB / 1.179 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6363, allocations: 0.9183 MB / 1.18 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6363, allocations: 0 / 1.18 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.6364, allocations: 36 kB / 1.18 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.6364, allocations: 20 kB / 1.18 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.638, allocations: 1.112 MB / 1.181 GB, free: 13 MB / 0.9356 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.003385/0.6414, allocations: 2.736 MB / 1.184 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.6427, allocations: 0.8085 MB / 1.185 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.6432, allocations: 310.6 kB / 1.185 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.6433, allocations: 36.67 kB / 1.185 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.644, allocations: 495.2 kB / 1.186 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/0.644, allocations: 0 / 1.186 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.002814/0.6469, allocations: 1.213 MB / 1.187 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.6469, allocations: 188.6 kB / 1.187 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.6476, allocations: 0.6293 MB / 1.188 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.6477, allocations: 41.7 kB / 1.188 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.6479, allocations: 392.3 kB / 1.188 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.6481, allocations: 260.3 kB / 1.188 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.6482, allocations: 61.69 kB / 1.188 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6483, allocations: 398.6 kB / 1.189 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.6488, allocations: 249.9 kB / 1.189 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.6493, allocations: 362.6 kB / 1.189 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.6503, allocations: 0.5916 MB / 1.19 GB, free: 4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6503, allocations: 0 / 1.19 GB, free: 4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001627/0.6519, allocations: 0.8097 MB / 1.191 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.652, allocations: 8 kB / 1.191 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.652, allocations: 0 / 1.191 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/0.6525, allocations: 88.77 kB / 1.191 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.6531, allocations: 155.8 kB / 1.191 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.6558, allocations: 1.533 MB / 1.192 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.6565, allocations: 100.7 kB / 1.193 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.6565, allocations: 35.97 kB / 1.193 GB, free: 1.125 MB / 0.9356 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.0003298/0.6569, allocations: 257.6 kB / 1.193 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.657, allocations: 86.91 kB / 1.193 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.6591, allocations: 1.073 MB / 1.194 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6591, allocations: 8 kB / 1.194 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.6591, allocations: 0 / 1.194 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6592, allocations: 7.922 kB / 1.194 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.66, allocations: 0.8957 MB / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.66, allocations: 7.938 kB / 1.195 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.6606, allocations: 143.8 kB / 1.195 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.661, allocations: 84.77 kB / 1.195 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.6611, allocations: 23.98 kB / 1.195 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.6627, allocations: 1.555 MB / 1.197 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6627, allocations: 0 / 1.197 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.6644, allocations: 0.9357 MB / 1.198 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6647, allocations: 279.7 kB / 1.198 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.6648, allocations: 20 kB / 1.198 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.6654, allocations: 80.58 kB / 1.198 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6655, allocations: 72.89 kB / 1.198 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6656, allocations: 32.12 kB / 1.198 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004591/0.6661, allocations: 459 kB / 1.198 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6661, allocations: 0 / 1.198 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006126/0.6667, allocations: 315.2 kB / 1.199 GB, free: 10.57 MB / 0.9512 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.002973/0.6697, allocations: 1.983 MB / 1.201 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.671, allocations: 0.8077 MB / 1.201 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6711, allocations: 0 / 1.201 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008138/0.6719, allocations: 0.52 MB / 1.202 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.673, allocations: 283.7 kB / 1.202 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.683, allocations: 6.779 MB / 1.209 GB, free: 236 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.6836, allocations: 1.019 MB / 1.21 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007206/0.6843, allocations: 258.7 kB / 1.21 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.6848, allocations: 379.3 kB / 1.21 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.6848, allocations: 4 kB / 1.21 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.7213, allocations: 20.19 MB / 1.23 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/0.7216, allocations: 318.3 kB / 1.23 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.833, allocations: 3.938 kB / 1.23 GB, free: 10.42 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)