Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_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.0008099/0.0008099, allocations: 98.73 kB / 16.02 MB, free: 80 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.0008724/0.0008723, allocations: 186 kB / 16.92 MB, free: 6.75 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.196/1.196, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.633/0.633, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 8.906 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006391/0.1247, allocations: 6.516 MB / 0.5664 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3459/0.4706, allocations: 147.2 MB / 0.7102 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008971/0.4716, allocations: 27.88 kB / 0.7102 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.4722, allocations: 198.3 kB / 0.7104 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.4742, allocations: 0.6608 MB / 0.711 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.476, allocations: 0.8908 MB / 0.7119 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.478, allocations: 1.952 MB / 0.7138 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.4793, allocations: 1.043 MB / 0.7148 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.4801, allocations: 0.5403 MB / 0.7154 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.4807, allocations: 0.6098 MB / 0.716 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.112e-05/0.4808, allocations: 36 kB / 0.716 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.4815, allocations: 379.6 kB / 0.7164 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.4817, allocations: 274.5 kB / 0.7166 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.4823, allocations: 0.755 MB / 0.7174 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.4841, allocations: 2.417 MB / 0.7197 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4841, allocations: 3.984 kB / 0.7197 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4841, allocations: 0 / 0.7197 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.4842, allocations: 0 / 0.7197 GB, free: 2.953 MB / 0.5294 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.002787/0.487, allocations: 1.706 MB / 0.7214 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.487, allocations: 8.031 kB / 0.7214 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.4872, allocations: 228.2 kB / 0.7216 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008909/0.4881, allocations: 262.6 kB / 0.7219 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.4893, allocations: 0.9773 MB / 0.7228 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.4894, allocations: 148.8 kB / 0.723 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.4896, allocations: 148 kB / 0.7231 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.492, allocations: 1.597 MB / 0.7247 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.492, allocations: 0 / 0.7247 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4922, allocations: 60 kB / 0.7247 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.4922, allocations: 40.88 kB / 0.7248 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.4945, allocations: 1.604 MB / 0.7263 GB, free: 12.01 MB / 0.545 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.005919/0.5005, allocations: 4.776 MB / 0.731 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.5022, allocations: 1.102 MB / 0.7321 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.5029, allocations: 436.5 kB / 0.7325 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.503, allocations: 41.02 kB / 0.7325 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.5041, allocations: 0.7135 MB / 0.7332 GB, free: 4.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=111): time 2.044e-06/0.5041, allocations: 0 / 0.7332 GB, free: 4.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=111): time 0.003567/0.5077, allocations: 1.672 MB / 0.7349 GB, free: 3.039 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.5078, allocations: 200.9 kB / 0.735 GB, free: 2.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/0.5088, allocations: 0.834 MB / 0.7359 GB, free: 1.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.5088, allocations: 49.7 kB / 0.7359 GB, free: 1.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.5092, allocations: 0.6244 MB / 0.7365 GB, free: 1.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.5095, allocations: 350.9 kB / 0.7369 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5096, allocations: 89.67 kB / 0.7369 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5097, allocations: 349.9 kB / 0.7373 GB, free: 476 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/0.5104, allocations: 382.4 kB / 0.7376 GB, free: 96 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007838/0.5112, allocations: 0.5102 MB / 0.7381 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.5126, allocations: 0.8671 MB / 0.739 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5127, allocations: 0 / 0.739 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002215/0.5149, allocations: 1.169 MB / 0.7401 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5149, allocations: 4 kB / 0.7401 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5149, allocations: 0 / 0.7401 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.5155, allocations: 92.77 kB / 0.7402 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.5163, allocations: 227.7 kB / 0.7404 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1844/0.7007, allocations: 1.541 MB / 0.7419 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.7018, allocations: 159.3 kB / 0.7421 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.7019, allocations: 43.97 kB / 0.7421 GB, free: 11.29 MB / 0.5606 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.0004819/0.7024, allocations: 352.1 kB / 0.7425 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.7026, allocations: 114.6 kB / 0.7426 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.7055, allocations: 1.543 MB / 0.7441 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.7055, allocations: 16 kB / 0.7441 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.7055, allocations: 0 / 0.7441 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7056, allocations: 7.969 kB / 0.7441 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.7069, allocations: 1.376 MB / 0.7454 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.7069, allocations: 0 / 0.7454 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.7076, allocations: 199.7 kB / 0.7456 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/0.7081, allocations: 84.77 kB / 0.7457 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.7082, allocations: 39.91 kB / 0.7458 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.7097, allocations: 1.556 MB / 0.7473 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7098, allocations: 4 kB / 0.7473 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.712, allocations: 1.296 MB / 0.7485 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.7124, allocations: 387 kB / 0.7489 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.7125, allocations: 24 kB / 0.7489 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.7134, allocations: 115.9 kB / 0.749 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.7136, allocations: 101.1 kB / 0.7491 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.7137, allocations: 47.97 kB / 0.7492 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000684/0.7144, allocations: 0.6215 MB / 0.7498 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7144, allocations: 3.938 kB / 0.7498 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00085/0.7152, allocations: 478.4 kB / 0.7503 GB, free: 2.703 MB / 0.5606 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.003541/0.7188, allocations: 2.36 MB / 0.7526 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.7206, allocations: 1.121 MB / 0.7537 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7206, allocations: 0 / 0.7537 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7217, allocations: 0.6856 MB / 0.7543 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.7229, allocations: 309 kB / 0.7546 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.7376, allocations: 9.874 MB / 0.7643 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.7383, allocations: 1.221 MB / 0.7655 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000948/0.7393, allocations: 321.2 kB / 0.7658 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/0.74, allocations: 0.6124 MB / 0.7664 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.74, allocations: 0 / 0.7664 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/2.049, allocations: 27.59 MB / 0.7933 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/2.049, allocations: 300.9 kB / 0.7936 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/4.342, allocations: 3.938 kB / 0.7936 GB, free: 6.508 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)