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.001259/0.00126, allocations: 100 kB / 16.4 MB, free: 6.484 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.001232/0.001232, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7743/0.7743, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 59.98 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1669, allocations: 76.19 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009245/0.1762, allocations: 7.007 MB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6418/0.8181, allocations: 151.2 MB / 0.786 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.8196, allocations: 21.84 kB / 0.786 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.8206, allocations: 264.1 kB / 0.7863 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.8236, allocations: 0.7817 MB / 0.7871 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.8261, allocations: 1.016 MB / 0.788 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003209/0.8294, allocations: 2.091 MB / 0.7901 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.8313, allocations: 1.111 MB / 0.7912 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.833, allocations: 0.8301 MB / 0.792 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.8344, allocations: 0.8809 MB / 0.7928 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.8348, allocations: 217.5 kB / 0.7931 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.8361, allocations: 0.5799 MB / 0.7936 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003914/0.8365, allocations: 491.2 kB / 0.7941 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009681/0.8375, allocations: 0.9696 MB / 0.795 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.8405, allocations: 2.68 MB / 0.7977 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8406, allocations: 0 / 0.7977 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8406, allocations: 0 / 0.7977 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.436e-05/0.8406, allocations: 0 / 0.7977 GB, free: 11.82 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.004395/0.845, allocations: 2.045 MB / 0.7996 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.8451, allocations: 14.38 kB / 0.7997 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002655/0.8454, allocations: 227.1 kB / 0.7999 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.8465, allocations: 251.7 kB / 0.8001 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.8482, allocations: 0.9998 MB / 0.8011 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.8483, allocations: 146.1 kB / 0.8012 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.8485, allocations: 152.9 kB / 0.8014 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.8512, allocations: 1.591 MB / 0.8029 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.8512, allocations: 3.938 kB / 0.8029 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.8514, allocations: 70.95 kB / 0.803 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.8514, allocations: 39.47 kB / 0.803 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.8539, allocations: 1.589 MB / 0.8046 GB, free: 9.367 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.00757/0.8615, allocations: 4.676 MB / 0.8092 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.8635, allocations: 1.101 MB / 0.8102 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.8643, allocations: 433 kB / 0.8106 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/0.8644, allocations: 40.89 kB / 0.8107 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.8657, allocations: 0.6956 MB / 0.8114 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 3.066e-06/0.8657, allocations: 0 / 0.8114 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.004312/0.87, allocations: 1.658 MB / 0.813 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.8702, allocations: 193.1 kB / 0.8132 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.8715, allocations: 0.8452 MB / 0.814 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.8717, allocations: 56.75 kB / 0.8141 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.8723, allocations: 0.6158 MB / 0.8147 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.8727, allocations: 357.5 kB / 0.815 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.8731, allocations: 208.1 kB / 0.8152 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8732, allocations: 348.1 kB / 0.8155 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/0.874, allocations: 374.2 kB / 0.8159 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.8749, allocations: 0.5147 MB / 0.8164 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.8765, allocations: 0.8583 MB / 0.8172 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.8765, allocations: 5.969 kB / 0.8172 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002755/0.8793, allocations: 1.149 MB / 0.8183 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.8793, allocations: 5.344 kB / 0.8184 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8793, allocations: 3.094 kB / 0.8184 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/0.88, allocations: 86.2 kB / 0.8184 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/0.8809, allocations: 217.2 kB / 0.8186 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.8832, allocations: 1.659 MB / 0.8203 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.8846, allocations: 124.9 kB / 0.8204 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.8847, allocations: 46.25 kB / 0.8204 GB, free: 14.87 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.0009999/0.8857, allocations: 346.3 kB / 0.8208 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.8861, allocations: 114.4 kB / 0.8209 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.8896, allocations: 1.532 MB / 0.8224 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.8896, allocations: 12.72 kB / 0.8224 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8896, allocations: 0 / 0.8224 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.8896, allocations: 10.38 kB / 0.8224 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.8915, allocations: 1.373 MB / 0.8237 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8915, allocations: 3.984 kB / 0.8237 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.8923, allocations: 198.4 kB / 0.8239 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.8928, allocations: 70.73 kB / 0.824 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-05/0.8929, allocations: 33.72 kB / 0.824 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.8948, allocations: 1.672 MB / 0.8257 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8949, allocations: 0 / 0.8257 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.8976, allocations: 1.281 MB / 0.8269 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/0.8983, allocations: 357.7 kB / 0.8272 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.8985, allocations: 45.69 kB / 0.8273 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.8994, allocations: 82.09 kB / 0.8274 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.8997, allocations: 101.3 kB / 0.8275 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.8998, allocations: 52.39 kB / 0.8275 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008676/0.9006, allocations: 0.6194 MB / 0.8281 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9007, allocations: 0 / 0.8281 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001554/0.9022, allocations: 476.6 kB / 0.8286 GB, free: 9.348 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.00428/0.9065, allocations: 2.347 MB / 0.8309 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.909, allocations: 1.121 MB / 0.832 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.9091, allocations: 4 kB / 0.832 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.9103, allocations: 0.6817 MB / 0.8326 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.9122, allocations: 341 kB / 0.833 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/0.9293, allocations: 8.689 MB / 0.8414 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.9306, allocations: 1.22 MB / 0.8426 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001406/0.932, allocations: 309.3 kB / 0.8429 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.9331, allocations: 0.6164 MB / 0.8435 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.9331, allocations: 0 / 0.8435 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07265/1.006, allocations: 29.98 MB / 0.8728 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.16, allocations: 3.938 kB / 0.8728 GB, free: 13.1 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 & /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)