Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001268/0.001268, allocations: 106.8 kB / 16.4 MB, free: 6.516 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.001197/0.001197, allocations: 193.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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7778/0.7778, allocations: 126.7 MB / 417.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.12 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1299, allocations: 78.87 MB / 0.6505 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007067/0.137, allocations: 5.362 MB / 0.6558 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.453/0.59, allocations: 150.8 MB / 0.803 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.5909, allocations: 20.25 kB / 0.803 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.5915, allocations: 207.3 kB / 0.8032 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.5932, allocations: 0.6008 MB / 0.8038 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.5949, allocations: 0.8912 MB / 0.8047 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.5964, allocations: 1.557 MB / 0.8062 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.5972, allocations: 0.6733 MB / 0.8069 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006678/0.5979, allocations: 0.5593 MB / 0.8074 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.5985, allocations: 0.5914 MB / 0.808 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.5987, allocations: 137.5 kB / 0.8081 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.5995, allocations: 0.5152 MB / 0.8086 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.5998, allocations: 337.3 kB / 0.809 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.6003, allocations: 0.6515 MB / 0.8096 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.602, allocations: 1.864 MB / 0.8114 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6021, allocations: 0 / 0.8114 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6021, allocations: 0 / 0.8114 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.6021, allocations: 0 / 0.8114 GB, free: 10.57 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002703/0.6048, allocations: 1.628 MB / 0.813 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6048, allocations: 9.938 kB / 0.813 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.605, allocations: 160.4 kB / 0.8132 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.6059, allocations: 210.4 kB / 0.8134 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.607, allocations: 0.8259 MB / 0.8142 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.6071, allocations: 76.92 kB / 0.8142 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6072, allocations: 103.8 kB / 0.8143 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.6088, allocations: 1.066 MB / 0.8154 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.6089, allocations: 0 / 0.8154 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.6089, allocations: 41.41 kB / 0.8154 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.609, allocations: 24.75 kB / 0.8154 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.6107, allocations: 1.224 MB / 0.8166 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.6152, allocations: 3.26 MB / 0.8198 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.6168, allocations: 0.8908 MB / 0.8207 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.6174, allocations: 352.4 kB / 0.821 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.01e-05/0.6175, allocations: 35.06 kB / 0.8211 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009178/0.6184, allocations: 0.554 MB / 0.8216 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=92): time 2.414e-06/0.6184, allocations: 4 kB / 0.8216 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92): time 0.003301/0.6217, allocations: 1.353 MB / 0.8229 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.6218, allocations: 190.7 kB / 0.8231 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.6227, allocations: 0.6824 MB / 0.8238 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.6227, allocations: 43.83 kB / 0.8238 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.6231, allocations: 455.8 kB / 0.8243 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.6234, allocations: 311.8 kB / 0.8246 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.6236, allocations: 169.1 kB / 0.8247 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.6238, allocations: 390.9 kB / 0.8251 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.6243, allocations: 293 kB / 0.8254 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.625, allocations: 404.1 kB / 0.8258 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.6262, allocations: 0.6597 MB / 0.8264 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6262, allocations: 2.719 kB / 0.8264 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002007/0.6282, allocations: 0.9104 MB / 0.8273 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6282, allocations: 7.625 kB / 0.8273 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6283, allocations: 0 / 0.8273 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.6289, allocations: 86.23 kB / 0.8274 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.6296, allocations: 177.9 kB / 0.8275 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6317, allocations: 1.625 MB / 0.8291 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.6324, allocations: 103.8 kB / 0.8292 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.6325, allocations: 34.84 kB / 0.8293 GB, free: 14.96 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004857/0.633, allocations: 291.3 kB / 0.8295 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6332, allocations: 93.52 kB / 0.8296 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.6357, allocations: 1.229 MB / 0.8308 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.6358, allocations: 10.03 kB / 0.8308 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.6358, allocations: 3.75 kB / 0.8308 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6358, allocations: 7.969 kB / 0.8309 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.637, allocations: 1.021 MB / 0.8319 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.637, allocations: 3.938 kB / 0.8319 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.6376, allocations: 159.9 kB / 0.832 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.6381, allocations: 77.84 kB / 0.8321 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.6381, allocations: 30.84 kB / 0.8321 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.64, allocations: 1.655 MB / 0.8337 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.64, allocations: 3.938 kB / 0.8337 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.6421, allocations: 1.048 MB / 0.8348 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.6425, allocations: 307.1 kB / 0.835 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6427, allocations: 28.89 kB / 0.8351 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.6433, allocations: 64.47 kB / 0.8351 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.6435, allocations: 85.03 kB / 0.8352 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.6436, allocations: 41.09 kB / 0.8353 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005953/0.6442, allocations: 499.7 kB / 0.8357 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6442, allocations: 0 / 0.8357 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000861/0.6451, allocations: 374.8 kB / 0.8361 GB, free: 10.21 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004084/0.6492, allocations: 2.119 MB / 0.8382 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.6509, allocations: 0.9045 MB / 0.839 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6509, allocations: 0 / 0.839 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.6519, allocations: 0.5862 MB / 0.8396 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6532, allocations: 312.1 kB / 0.8399 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.6645, allocations: 6.857 MB / 0.8466 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.6652, allocations: 1.075 MB / 0.8477 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009372/0.6662, allocations: 299.6 kB / 0.8479 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.6668, allocations: 443.2 kB / 0.8484 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.6668, allocations: 0 / 0.8484 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05924/0.7261, allocations: 24.09 MB / 0.8719 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.44, allocations: 0 / 0.8719 GB, free: 7.211 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)