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.001547/0.001547, allocations: 105.1 kB / 16.4 MB, free: 6.508 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.001749/0.001749, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7069/0.7069, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 67.39 kB / 0.5679 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1352, allocations: 77.93 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007505/0.1428, allocations: 7.018 MB / 0.6509 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4317/0.5745, allocations: 151.2 MB / 0.7985 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009262/0.5755, allocations: 18.34 kB / 0.7985 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.5762, allocations: 270.1 kB / 0.7988 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.5782, allocations: 0.7859 MB / 0.7995 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.58, allocations: 1.018 MB / 0.8005 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.5819, allocations: 2.102 MB / 0.8026 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.5832, allocations: 1.103 MB / 0.8037 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009635/0.5842, allocations: 0.8278 MB / 0.8045 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.585, allocations: 0.8821 MB / 0.8053 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.5852, allocations: 220 kB / 0.8055 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.5861, allocations: 0.5765 MB / 0.8061 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.5864, allocations: 493.5 kB / 0.8066 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006867/0.5871, allocations: 0.9812 MB / 0.8075 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.5895, allocations: 2.671 MB / 0.8101 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5895, allocations: 0 / 0.8101 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5895, allocations: 0 / 0.8101 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.905e-05/0.5895, allocations: 0 / 0.8101 GB, free: 10.11 MB / 0.5919 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.003513/0.5931, allocations: 2.109 MB / 0.8122 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5931, allocations: 8.406 kB / 0.8122 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.5933, allocations: 224.3 kB / 0.8124 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/0.5943, allocations: 272.6 kB / 0.8127 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.5957, allocations: 1.001 MB / 0.8137 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.5958, allocations: 150.9 kB / 0.8138 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.596, allocations: 152.9 kB / 0.814 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.5984, allocations: 1.589 MB / 0.8155 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.5985, allocations: 2.469 kB / 0.8155 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.5986, allocations: 64.66 kB / 0.8156 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.5986, allocations: 39.97 kB / 0.8156 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.6009, allocations: 1.59 MB / 0.8172 GB, free: 6.125 MB / 0.5919 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.006252/0.6072, allocations: 4.703 MB / 0.8218 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.6089, allocations: 1.093 MB / 0.8228 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.6096, allocations: 428.6 kB / 0.8232 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.6097, allocations: 46.45 kB / 0.8233 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.6108, allocations: 0.7063 MB / 0.824 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 2.715e-06/0.6108, allocations: 0 / 0.824 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.003667/0.6144, allocations: 1.665 MB / 0.8256 GB, free: 280 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.6145, allocations: 193.1 kB / 0.8258 GB, free: 56 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.6156, allocations: 0.8412 MB / 0.8266 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.6157, allocations: 49.3 kB / 0.8266 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.6161, allocations: 0.6364 MB / 0.8273 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.6164, allocations: 368.9 kB / 0.8276 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.6167, allocations: 212.5 kB / 0.8278 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6168, allocations: 344 kB / 0.8281 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.6174, allocations: 378.1 kB / 0.8285 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.6182, allocations: 0.5073 MB / 0.829 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.6196, allocations: 0.8588 MB / 0.8298 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6196, allocations: 0 / 0.8298 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002317/0.622, allocations: 1.159 MB / 0.831 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.622, allocations: 7.594 kB / 0.831 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.622, allocations: 0 / 0.831 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.6226, allocations: 90.12 kB / 0.8311 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.6234, allocations: 220 kB / 0.8313 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.6254, allocations: 1.651 MB / 0.8329 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/0.6263, allocations: 134.5 kB / 0.833 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.6264, allocations: 49.14 kB / 0.8331 GB, free: 10.77 MB / 0.6075 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.0005877/0.627, allocations: 349.2 kB / 0.8334 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.6273, allocations: 120.5 kB / 0.8335 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/0.6302, allocations: 1.531 MB / 0.835 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6303, allocations: 12.31 kB / 0.835 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6303, allocations: 0 / 0.835 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6303, allocations: 3.984 kB / 0.835 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6318, allocations: 1.381 MB / 0.8364 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6318, allocations: 3.984 kB / 0.8364 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.6326, allocations: 194 kB / 0.8366 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.633, allocations: 75.34 kB / 0.8366 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.6331, allocations: 40.03 kB / 0.8367 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.635, allocations: 1.683 MB / 0.8383 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.635, allocations: 0 / 0.8383 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.6375, allocations: 1.287 MB / 0.8396 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.6381, allocations: 363.9 kB / 0.8399 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6383, allocations: 35.95 kB / 0.84 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.6392, allocations: 79.91 kB / 0.84 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.6393, allocations: 93.17 kB / 0.8401 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.753e-05/0.6394, allocations: 51.97 kB / 0.8402 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00076/0.6402, allocations: 0.6176 MB / 0.8408 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6402, allocations: 4 kB / 0.8408 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001065/0.6413, allocations: 482.6 kB / 0.8412 GB, free: 3.863 MB / 0.6075 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.003856/0.6451, allocations: 2.367 MB / 0.8435 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.6472, allocations: 1.117 MB / 0.8446 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6472, allocations: 0 / 0.8446 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.6483, allocations: 0.6887 MB / 0.8453 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6497, allocations: 348.9 kB / 0.8456 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.6628, allocations: 8.725 MB / 0.8542 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.6635, allocations: 1.22 MB / 0.8554 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001/0.6645, allocations: 321.3 kB / 0.8557 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007871/0.6653, allocations: 0.6124 MB / 0.8563 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.6653, allocations: 0 / 0.8563 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.7183, allocations: 29.35 MB / 0.8849 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.42, allocations: 4 kB / 0.8849 GB, free: 7.465 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)