Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.006703/0.006703, allocations: 100.4 kB / 15.73 MB, free: 5.602 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.001713/0.001713, allocations: 192.2 kB / 16.68 MB, free: 5.523 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.27/2.27, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 67.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6194/0.622, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007863/0.6299, allocations: 7.076 MB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.7821, allocations: 151.2 MB / 1.321 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.7829, allocations: 19.94 kB / 1.321 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.7834, allocations: 265.4 kB / 1.321 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.7852, allocations: 0.7648 MB / 1.322 GB, free: 3.855 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.7872, allocations: 1.024 MB / 1.323 GB, free: 2.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.7891, allocations: 2.097 MB / 1.325 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7904, allocations: 1.113 MB / 1.326 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008542/0.7912, allocations: 0.8176 MB / 1.327 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.7921, allocations: 0.8831 MB / 1.327 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.7924, allocations: 216 kB / 1.328 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009312/0.7933, allocations: 0.5777 MB / 1.328 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.7937, allocations: 494.5 kB / 1.329 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.7946, allocations: 0.9681 MB / 1.33 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.797, allocations: 2.679 MB / 1.332 GB, free: 8.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.7971, allocations: 4 kB / 1.332 GB, free: 8.926 MB / 1.061 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7971, allocations: 0 / 1.332 GB, free: 8.926 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.7971, allocations: 4 kB / 1.332 GB, free: 8.922 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003217/0.8003, allocations: 2.1 MB / 1.334 GB, free: 6.762 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.468e-05/0.8003, allocations: 8.922 kB / 1.334 GB, free: 6.754 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/0.8006, allocations: 232.2 kB / 1.335 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009106/0.8015, allocations: 259.6 kB / 1.335 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.8028, allocations: 1.009 MB / 1.336 GB, free: 5.207 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.803, allocations: 144.8 kB / 1.336 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.8032, allocations: 152 kB / 1.336 GB, free: 4.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.8056, allocations: 1.589 MB / 1.338 GB, free: 3.266 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.8056, allocations: 0 / 1.338 GB, free: 3.266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.8058, allocations: 68 kB / 1.338 GB, free: 3.199 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.8058, allocations: 40 kB / 1.338 GB, free: 3.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.8083, allocations: 1.596 MB / 1.339 GB, free: 1.559 MB / 1.061 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.006041/0.8143, allocations: 4.702 MB / 1.344 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.8162, allocations: 1.086 MB / 1.345 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.8169, allocations: 439.6 kB / 1.345 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.817, allocations: 41.08 kB / 1.345 GB, free: 11.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.8182, allocations: 0.7079 MB / 1.346 GB, free: 10.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 2.244e-06/0.8182, allocations: 0 / 1.346 GB, free: 10.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.003821/0.822, allocations: 1.665 MB / 1.348 GB, free: 8.688 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.8221, allocations: 192.9 kB / 1.348 GB, free: 8.457 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/0.8231, allocations: 0.8456 MB / 1.349 GB, free: 7.586 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.8232, allocations: 45.7 kB / 1.349 GB, free: 7.535 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.8237, allocations: 0.6338 MB / 1.349 GB, free: 6.895 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.824, allocations: 380.8 kB / 1.35 GB, free: 6.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.8243, allocations: 202.9 kB / 1.35 GB, free: 6.316 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8244, allocations: 353.9 kB / 1.35 GB, free: 5.965 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.8251, allocations: 378.4 kB / 1.351 GB, free: 5.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008282/0.8259, allocations: 0.5063 MB / 1.351 GB, free: 5.059 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.8275, allocations: 0.8555 MB / 1.352 GB, free: 4.188 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8275, allocations: 7.938 kB / 1.352 GB, free: 4.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00239/0.8299, allocations: 1.161 MB / 1.353 GB, free: 3.012 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8299, allocations: 8 kB / 1.353 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8299, allocations: 0 / 1.353 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.8305, allocations: 84.83 kB / 1.353 GB, free: 2.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.8314, allocations: 219.7 kB / 1.353 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.8334, allocations: 1.642 MB / 1.355 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007956/0.8342, allocations: 133.6 kB / 1.355 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.8343, allocations: 43.97 kB / 1.355 GB, free: 0.7422 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0004678/0.8347, allocations: 360 kB / 1.356 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.8349, allocations: 127.1 kB / 1.356 GB, free: 264 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.8381, allocations: 1.524 MB / 1.357 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.8381, allocations: 12 kB / 1.357 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.8381, allocations: 0 / 1.357 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.8381, allocations: 7.969 kB / 1.357 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.8396, allocations: 1.384 MB / 1.359 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.8396, allocations: 3.938 kB / 1.359 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.8403, allocations: 191.8 kB / 1.359 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/0.8408, allocations: 76.73 kB / 1.359 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.8408, allocations: 35.97 kB / 1.359 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.8427, allocations: 1.674 MB / 1.36 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8427, allocations: 0 / 1.36 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.8451, allocations: 1.285 MB / 1.362 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.8455, allocations: 363.9 kB / 1.362 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.8457, allocations: 39.95 kB / 1.362 GB, free: 9.418 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/0.8465, allocations: 83.91 kB / 1.362 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.8467, allocations: 97.17 kB / 1.362 GB, free: 9.238 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/0.8468, allocations: 55.95 kB / 1.362 GB, free: 9.184 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007446/0.8475, allocations: 0.6137 MB / 1.363 GB, free: 8.559 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8475, allocations: 0 / 1.363 GB, free: 8.559 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009196/0.8485, allocations: 478.6 kB / 1.363 GB, free: 8.09 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004338/0.8528, allocations: 2.363 MB / 1.366 GB, free: 5.867 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.8548, allocations: 1.117 MB / 1.367 GB, free: 4.734 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8548, allocations: 0 / 1.367 GB, free: 4.734 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.8559, allocations: 0.6854 MB / 1.367 GB, free: 4.035 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.8572, allocations: 366.6 kB / 1.368 GB, free: 3.695 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.8698, allocations: 8.713 MB / 1.376 GB, free: 10.82 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007956/0.8706, allocations: 1.224 MB / 1.378 GB, free: 9.57 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.8715, allocations: 317.2 kB / 1.378 GB, free: 9.258 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/0.8723, allocations: 0.6164 MB / 1.378 GB, free: 8.641 MB / 1.107 GB Notification: Performance of SimCode: time 2.6e-07/0.8723, allocations: 0 / 1.378 GB, free: 8.641 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.819/7.691, allocations: 29.38 MB / 1.407 GB, free: 11.54 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/26.24, allocations: 16.94 kB / 1.407 GB, free: 11.52 MB / 1.139 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)