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.001208/0.001208, allocations: 105.5 kB / 16.4 MB, free: 6.504 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.001233/0.001233, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6646/0.6646, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 67.58 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1207, allocations: 76.18 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008337/0.1291, allocations: 7.015 MB / 0.6384 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4478/0.577, allocations: 151.1 MB / 0.786 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.5779, allocations: 22.03 kB / 0.786 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.5787, allocations: 267.4 kB / 0.7863 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.5805, allocations: 0.7766 MB / 0.787 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.5824, allocations: 1.023 MB / 0.788 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.5841, allocations: 2.094 MB / 0.7901 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.5854, allocations: 1.105 MB / 0.7912 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.5865, allocations: 0.8277 MB / 0.792 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.5873, allocations: 0.8899 MB / 0.7928 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.5875, allocations: 218 kB / 0.7931 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009218/0.5884, allocations: 0.5774 MB / 0.7936 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.5887, allocations: 493.2 kB / 0.7941 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007144/0.5895, allocations: 0.9809 MB / 0.795 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.5918, allocations: 2.661 MB / 0.7976 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5919, allocations: 2.531 kB / 0.7976 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5919, allocations: 0 / 0.7976 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.5919, allocations: 0 / 0.7976 GB, free: 11.81 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.003347/0.5952, allocations: 2.052 MB / 0.7997 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5953, allocations: 10.72 kB / 0.7997 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/0.5956, allocations: 226.5 kB / 0.7999 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.5965, allocations: 253 kB / 0.8001 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5979, allocations: 1.001 MB / 0.8011 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.598, allocations: 150.6 kB / 0.8012 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5982, allocations: 152.8 kB / 0.8014 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.6004, allocations: 1.591 MB / 0.8029 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6004, allocations: 0 / 0.8029 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.6005, allocations: 63.16 kB / 0.803 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.6006, allocations: 37.62 kB / 0.803 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.6026, allocations: 1.598 MB / 0.8046 GB, free: 9.348 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.005538/0.6082, allocations: 4.68 MB / 0.8092 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.6098, allocations: 1.1 MB / 0.8102 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.6105, allocations: 432.3 kB / 0.8107 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.938e-05/0.6105, allocations: 41.33 kB / 0.8107 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009896/0.6115, allocations: 0.7001 MB / 0.8114 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 2.294e-06/0.6115, allocations: 0 / 0.8114 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.003508/0.6151, allocations: 1.654 MB / 0.813 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.6152, allocations: 197.5 kB / 0.8132 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009474/0.6161, allocations: 0.8441 MB / 0.814 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.6162, allocations: 48.86 kB / 0.8141 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.6166, allocations: 0.6182 MB / 0.8147 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.6168, allocations: 360.1 kB / 0.815 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.6171, allocations: 210.8 kB / 0.8152 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6172, allocations: 341.6 kB / 0.8155 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.6179, allocations: 377.8 kB / 0.8159 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/0.6186, allocations: 0.5107 MB / 0.8164 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.62, allocations: 0.8585 MB / 0.8172 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.62, allocations: 0 / 0.8172 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002214/0.6222, allocations: 1.152 MB / 0.8183 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6223, allocations: 7.344 kB / 0.8184 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6223, allocations: 0 / 0.8184 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/0.6228, allocations: 88.86 kB / 0.8184 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.6237, allocations: 224.4 kB / 0.8187 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.6257, allocations: 1.646 MB / 0.8203 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.6265, allocations: 135.3 kB / 0.8204 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.6266, allocations: 47.42 kB / 0.8204 GB, free: 14.79 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.0004704/0.6271, allocations: 345.5 kB / 0.8208 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6273, allocations: 107.1 kB / 0.8209 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.6303, allocations: 1.531 MB / 0.8224 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.6303, allocations: 13.03 kB / 0.8224 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6303, allocations: 3.984 kB / 0.8224 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6303, allocations: 3.984 kB / 0.8224 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.6317, allocations: 1.376 MB / 0.8237 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6317, allocations: 2.719 kB / 0.8237 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/0.6325, allocations: 198.2 kB / 0.8239 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.6329, allocations: 78.84 kB / 0.824 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.633, allocations: 34.03 kB / 0.824 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.6347, allocations: 1.677 MB / 0.8257 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6347, allocations: 2.406 kB / 0.8257 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.637, allocations: 1.279 MB / 0.8269 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.6374, allocations: 354.9 kB / 0.8273 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.6376, allocations: 45.67 kB / 0.8273 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.6385, allocations: 73.98 kB / 0.8274 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.6386, allocations: 105.2 kB / 0.8275 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.6387, allocations: 45.81 kB / 0.8275 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007069/0.6394, allocations: 0.6223 MB / 0.8281 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.502e-06/0.6395, allocations: 4 kB / 0.8281 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009922/0.6405, allocations: 472.3 kB / 0.8286 GB, free: 9.266 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.004509/0.645, allocations: 2.345 MB / 0.8309 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.6472, allocations: 1.121 MB / 0.832 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6473, allocations: 0 / 0.832 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6485, allocations: 0.6818 MB / 0.8326 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6499, allocations: 353.5 kB / 0.833 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.6643, allocations: 8.676 MB / 0.8414 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.6653, allocations: 1.22 MB / 0.8426 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001056/0.6663, allocations: 317.3 kB / 0.8429 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.6672, allocations: 0.6086 MB / 0.8435 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of SimCode: time 9.31e-07/0.6672, allocations: 0 / 0.8435 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05772/0.7249, allocations: 29.99 MB / 0.8728 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.65, allocations: 2.188 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)